Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 112.2 kB / 21.19 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 213.7 kB / 24.49 MB, free: 4.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2232/0.2232, allocations: 46.93 MB / 361.6 MB, free: 4.25 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 63.89 kB / 0.4974 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3128, allocations: 66.04 MB / 0.5619 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004004/0.3169, allocations: 2.509 MB / 0.5643 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.3183, allocations: 0.849 MB / 0.5652 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.3184, allocations: 7.938 kB / 0.5652 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.3186, allocations: 55.5 kB / 0.5652 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.3189, allocations: 107.2 kB / 0.5653 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.3192, allocations: 99.8 kB / 0.5654 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003861/0.3195, allocations: 358.7 kB / 0.5658 GB, free: 408 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.3197, allocations: 75.56 kB / 0.5658 GB, free: 332 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/0.32, allocations: 151.4 kB / 0.566 GB, free: 180 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.3202, allocations: 163.3 kB / 0.5661 GB, free: 16 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.606e-05/0.3203, allocations: 28.05 kB / 0.5662 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.695e-05/0.3204, allocations: 35.94 kB / 0.5662 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.31e-05/0.3204, allocations: 67.7 kB / 0.5663 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.3206, allocations: 151.2 kB / 0.5664 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004259/0.321, allocations: 378.1 kB / 0.5668 GB, free: 15.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.321, allocations: 0 / 0.5668 GB, free: 15.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.321, allocations: 0 / 0.5668 GB, free: 15.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.321, allocations: 0 / 0.5668 GB, free: 15.37 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001106/0.3221, allocations: 0.5596 MB / 0.5673 GB, free: 14.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.3222, allocations: 16.02 kB / 0.5673 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.3223, allocations: 40.7 kB / 0.5674 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.3226, allocations: 212.9 kB / 0.5676 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.3227, allocations: 20.88 kB / 0.5676 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.3227, allocations: 24.38 kB / 0.5676 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004899/0.3232, allocations: 248.4 kB / 0.5678 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3232, allocations: 0 / 0.5678 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.3232, allocations: 12 kB / 0.5679 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.3232, allocations: 7.938 kB / 0.5679 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005164/0.3238, allocations: 237.9 kB / 0.5681 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.3252, allocations: 0.8431 MB / 0.5689 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005359/0.3257, allocations: 274.7 kB / 0.5692 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.326, allocations: 124.8 kB / 0.5693 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.951e-05/0.326, allocations: 11.98 kB / 0.5693 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.3261, allocations: 42.55 kB / 0.5693 GB, free: 12.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.422e-06/0.3261, allocations: 0 / 0.5693 GB, free: 12.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004432/0.3305, allocations: 0.9572 MB / 0.5703 GB, free: 11.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/0.3306, allocations: 55.41 kB / 0.5703 GB, free: 11.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.3308, allocations: 233.1 kB / 0.5706 GB, free: 11.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.3308, allocations: 33.7 kB / 0.5706 GB, free: 11.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.331, allocations: 161.3 kB / 0.5707 GB, free: 11.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.3311, allocations: 111 kB / 0.5708 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.683e-05/0.3312, allocations: 53.7 kB / 0.5709 GB, free: 10.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3314, allocations: 338.8 kB / 0.5712 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.3316, allocations: 95.95 kB / 0.5713 GB, free: 10.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.3318, allocations: 118.8 kB / 0.5714 GB, free: 10.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/0.3323, allocations: 231.3 kB / 0.5716 GB, free: 10.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3323, allocations: 4 kB / 0.5717 GB, free: 10.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00177/0.3341, allocations: 0.5372 MB / 0.5722 GB, free: 9.586 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3341, allocations: 4 kB / 0.5722 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3341, allocations: 4 kB / 0.5722 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001677/0.3358, allocations: 315.1 kB / 0.5725 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.3359, allocations: 31.86 kB / 0.5725 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007837/0.3438, allocations: 6.449 MB / 0.5788 GB, free: 2.316 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.344, allocations: 27.88 kB / 0.5788 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.344, allocations: 16.05 kB / 0.5789 GB, free: 2.273 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001873/0.3442, allocations: 141.8 kB / 0.579 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.586e-05/0.3443, allocations: 31.8 kB / 0.579 GB, free: 2.094 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/0.3461, allocations: 0.5462 MB / 0.5796 GB, free: 1.531 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3461, allocations: 4 kB / 0.5796 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3461, allocations: 3.938 kB / 0.5796 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3461, allocations: 0 / 0.5796 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000448/0.3465, allocations: 328.4 kB / 0.5799 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3465, allocations: 0 / 0.5799 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.3466, allocations: 23.97 kB / 0.5799 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001546/0.3482, allocations: 319.2 kB / 0.5802 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.3482, allocations: 4 kB / 0.5802 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007994/0.3562, allocations: 6.495 MB / 0.5865 GB, free: 9.848 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3562, allocations: 7.922 kB / 0.5866 GB, free: 9.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.3581, allocations: 0.6129 MB / 0.5872 GB, free: 9.199 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.3581, allocations: 35.69 kB / 0.5872 GB, free: 9.164 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.3581, allocations: 0 / 0.5872 GB, free: 9.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.3583, allocations: 15.98 kB / 0.5872 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.3585, allocations: 39.88 kB / 0.5872 GB, free: 9.109 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.3585, allocations: 4 kB / 0.5872 GB, free: 9.105 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001916/0.3587, allocations: 173.2 kB / 0.5874 GB, free: 8.938 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3587, allocations: 0 / 0.5874 GB, free: 8.938 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005505/0.3592, allocations: 123.9 kB / 0.5875 GB, free: 8.816 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001324/0.3594, allocations: 95.25 kB / 0.5876 GB, free: 8.715 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.3605, allocations: 0.7483 MB / 0.5884 GB, free: 7.914 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3605, allocations: 0 / 0.5884 GB, free: 7.914 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.3618, allocations: 0.7211 MB / 0.5891 GB, free: 7.141 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.3621, allocations: 20.48 kB / 0.5891 GB, free: 7.121 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.3632, allocations: 0.5952 MB / 0.5897 GB, free: 6.488 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.3637, allocations: 0.7717 MB / 0.5904 GB, free: 5.691 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/0.3637, allocations: 15.44 kB / 0.5904 GB, free: 5.676 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3637, allocations: 0 / 0.5904 GB, free: 5.676 MB / 430.1 MB Notification: Performance of Templates: time 0.01146/0.3752, allocations: 8.385 MB / 0.5986 GB, free: 13.29 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.326172781875357]