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.001947/0.001947, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.001996/0.001996, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 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.569/1.569, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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.3679/0.3679, allocations: 34.26 MB / 295.3 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 179] 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 1.493e-06/1.493e-06, allocations: 0 / 377.3 MB, free: 3.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.651e-05, allocations: 2.312 kB / 377.3 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004183/0.004209, allocations: 2.493 MB / 379.8 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.006003, allocations: 0.8061 MB / 380.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.006129, allocations: 7.938 kB / 380.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000209/0.006338, allocations: 59.5 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.006632, allocations: 107.1 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.006911, allocations: 107.8 kB / 380.9 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004227/0.007334, allocations: 362.5 kB / 381.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.007498, allocations: 68.75 kB / 381.3 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003653/0.007863, allocations: 211.5 kB / 381.5 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.008067, allocations: 115.7 kB / 381.6 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.894e-05/0.008126, allocations: 31.94 kB / 381.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.896e-05/0.008215, allocations: 32 kB / 381.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.997e-05/0.008305, allocations: 75.72 kB / 381.7 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.00844, allocations: 103.7 kB / 381.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005109/0.008951, allocations: 394.7 kB / 382.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.008954, allocations: 0 / 382.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.008956, allocations: 0 / 382.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.008962, allocations: 0 / 382.2 MB, free: 14.04 MB / 362.7 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.001277/0.01024, allocations: 0.667 MB / 382.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.01028, allocations: 12.03 kB / 382.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.01047, allocations: 60.69 kB / 383 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.01083, allocations: 219.5 kB / 383.2 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.01085, allocations: 12.88 kB / 383.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.01089, allocations: 28.38 kB / 383.2 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004983/0.01139, allocations: 232.6 kB / 383.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.0114, allocations: 192 / 383.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.01143, allocations: 12.38 kB / 383.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.01145, allocations: 15.91 kB / 383.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005053/0.01196, allocations: 217.8 kB / 383.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.01366, allocations: 0.8435 MB / 384.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005865/0.01425, allocations: 299.1 kB / 384.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.01453, allocations: 127.6 kB / 384.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.985e-05/0.01458, allocations: 8 kB / 384.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.01462, allocations: 37.39 kB / 385 MB, free: 11.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.272e-06/0.01462, allocations: 0 / 385 MB, free: 11.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.004811/0.01943, allocations: 0.9917 MB / 386 MB, free: 10.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.01948, allocations: 59.34 kB / 386 MB, free: 10.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/0.01983, allocations: 320.3 kB / 386.3 MB, free: 9.719 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.01986, allocations: 29.7 kB / 386.4 MB, free: 9.684 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.02005, allocations: 231.4 kB / 386.6 MB, free: 9.453 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.02016, allocations: 111 kB / 386.7 MB, free: 9.344 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.02027, allocations: 63.3 kB / 386.8 MB, free: 9.273 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002975/0.02057, allocations: 0.5196 MB / 387.3 MB, free: 8.742 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.02079, allocations: 87.95 kB / 387.4 MB, free: 8.656 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.02104, allocations: 125.1 kB / 387.5 MB, free: 8.523 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006896/0.02173, allocations: 229 kB / 387.7 MB, free: 8.293 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.02173, allocations: 0 / 387.7 MB, free: 8.293 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001948/0.02368, allocations: 0.5561 MB / 388.3 MB, free: 7.715 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.0237, allocations: 11.94 kB / 388.3 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.0237, allocations: 4 kB / 388.3 MB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002966/0.02667, allocations: 0.5022 MB / 388.8 MB, free: 7.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.02683, allocations: 31.86 kB / 388.8 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00998/0.03681, allocations: 8.43 MB / 397.3 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.03704, allocations: 31.81 kB / 397.3 MB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.03706, allocations: 8 kB / 397.3 MB, free: 14.18 MB / 378.7 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.0002154/0.03728, allocations: 188.6 kB / 397.5 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.754e-05/0.03737, allocations: 40 kB / 397.5 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/0.03932, allocations: 0.5583 MB / 398.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.03933, allocations: 0 / 398.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/0.03934, allocations: 8 kB / 398.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.03935, allocations: 4 kB / 398.1 MB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004416/0.03979, allocations: 296.4 kB / 398.4 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.03979, allocations: 0 / 398.4 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.0399, allocations: 15.98 kB / 398.4 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002891/0.04279, allocations: 0.4944 MB / 398.9 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.04282, allocations: 7.938 kB / 398.9 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01014/0.05296, allocations: 8.502 MB / 407.4 MB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.05296, allocations: 0 / 407.4 MB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.05498, allocations: 0.701 MB / 408.1 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.05504, allocations: 27.75 kB / 408.1 MB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.05507, allocations: 7.938 kB / 408.1 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.05527, allocations: 11.98 kB / 408.1 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.05539, allocations: 35.88 kB / 408.2 MB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.05541, allocations: 8 kB / 408.2 MB, free: 2.672 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002267/0.05564, allocations: 225.1 kB / 408.4 MB, free: 2.453 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05564, allocations: 0 / 408.4 MB, free: 2.453 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000532/0.05617, allocations: 123.9 kB / 408.5 MB, free: 2.332 MB / 378.7 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.0001549/0.05632, allocations: 99.23 kB / 408.6 MB, free: 2.223 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001591/0.05791, allocations: 0.9829 MB / 409.6 MB, free: 1.164 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.05792, allocations: 4 kB / 409.6 MB, free: 1.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001563/0.05948, allocations: 0.9678 MB / 410.6 MB, free: 120 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.05981, allocations: 24.44 kB / 410.6 MB, free: 92 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.06094, allocations: 0.5602 MB / 411.2 MB, free: 15.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.06114, allocations: 167.8 kB / 411.3 MB, free: 15.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.418e-05/0.06121, allocations: 17.94 kB / 411.3 MB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.06125, allocations: 16.44 kB / 411.4 MB, free: 15.29 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/0.06125, allocations: 0 / 411.4 MB, free: 15.29 MB / 394.7 MB Notification: Performance of Templates: time 0.01684/0.07809, allocations: 8.829 MB / 420.2 MB, free: 6.508 MB / 394.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins/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: 5.463308216072619]