Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001666/0.001666, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.003222/0.003222, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.589/1.589, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.242/0.242, allocations: 44.94 MB / 359.6 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 71.89 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3511, allocations: 65.47 MB / 0.5582 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003951/0.3551, allocations: 2.34 MB / 0.5605 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.3566, allocations: 0.7945 MB / 0.5612 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.3568, allocations: 7.938 kB / 0.5613 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.357, allocations: 55.5 kB / 0.5613 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.3573, allocations: 107.2 kB / 0.5614 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.3576, allocations: 103.8 kB / 0.5615 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004001/0.358, allocations: 370.6 kB / 0.5619 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.3582, allocations: 67.56 kB / 0.5619 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.3584, allocations: 139.5 kB / 0.5621 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.3586, allocations: 143.3 kB / 0.5622 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.926e-05/0.3587, allocations: 28 kB / 0.5622 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.22e-05/0.3588, allocations: 36 kB / 0.5623 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.371e-05/0.3589, allocations: 67.75 kB / 0.5623 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.359, allocations: 123.4 kB / 0.5624 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000434/0.3594, allocations: 386.1 kB / 0.5628 GB, free: 2.602 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3594, allocations: 0 / 0.5628 GB, free: 2.602 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3594, allocations: 4 kB / 0.5628 GB, free: 2.598 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3594, allocations: 0 / 0.5628 GB, free: 2.598 MB / 398.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.001073/0.3605, allocations: 0.5635 MB / 0.5634 GB, free: 2.004 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3605, allocations: 8.031 kB / 0.5634 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.3607, allocations: 40.7 kB / 0.5634 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.3611, allocations: 208.9 kB / 0.5636 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.3611, allocations: 20.88 kB / 0.5636 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.3611, allocations: 24.38 kB / 0.5636 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005073/0.3617, allocations: 248.4 kB / 0.5639 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.3617, allocations: 4 kB / 0.5639 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.3617, allocations: 15.92 kB / 0.5639 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.3617, allocations: 8 kB / 0.5639 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005222/0.3622, allocations: 229.9 kB / 0.5641 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.3636, allocations: 0.7384 MB / 0.5649 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005493/0.3642, allocations: 290.6 kB / 0.5651 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/0.3645, allocations: 120.9 kB / 0.5652 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.446e-05/0.3645, allocations: 8 kB / 0.5653 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.3646, allocations: 38.48 kB / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 2.365e-06/0.3646, allocations: 3.938 kB / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004511/0.3691, allocations: 0.9611 MB / 0.5662 GB, free: 14.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.3691, allocations: 55.41 kB / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/0.3694, allocations: 229.1 kB / 0.5665 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.3694, allocations: 29.7 kB / 0.5665 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.3696, allocations: 169.3 kB / 0.5667 GB, free: 14.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.836e-05/0.3697, allocations: 111 kB / 0.5668 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-05/0.3697, allocations: 49.7 kB / 0.5668 GB, free: 14.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3699, allocations: 338.8 kB / 0.5672 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.3701, allocations: 99.94 kB / 0.5673 GB, free: 13.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.3704, allocations: 122.8 kB / 0.5674 GB, free: 13.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004776/0.3709, allocations: 227.2 kB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3709, allocations: 0 / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001908/0.3728, allocations: 0.5489 MB / 0.5681 GB, free: 12.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.3728, allocations: 4 kB / 0.5681 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3728, allocations: 4 kB / 0.5681 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001728/0.3745, allocations: 315.1 kB / 0.5684 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.3747, allocations: 27.91 kB / 0.5685 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008172/0.3829, allocations: 6.308 MB / 0.5746 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.3832, allocations: 27.88 kB / 0.5747 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.3832, allocations: 4 kB / 0.5747 GB, free: 5.812 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.0002392/0.3835, allocations: 145.9 kB / 0.5748 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.413e-05/0.3835, allocations: 27.81 kB / 0.5748 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/0.3853, allocations: 0.5501 MB / 0.5754 GB, free: 5.066 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.3853, allocations: 4 kB / 0.5754 GB, free: 5.062 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.3853, allocations: 4 kB / 0.5754 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3853, allocations: 0 / 0.5754 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/0.3857, allocations: 249.1 kB / 0.5756 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.3857, allocations: 3.938 kB / 0.5756 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.3859, allocations: 27.91 kB / 0.5756 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001496/0.3874, allocations: 315.2 kB / 0.5759 GB, free: 4.434 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.3874, allocations: 8 kB / 0.5759 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007965/0.3953, allocations: 6.345 MB / 0.5821 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3953, allocations: 0 / 0.5821 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.3972, allocations: 0.609 MB / 0.5827 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.3972, allocations: 31.69 kB / 0.5828 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.3973, allocations: 8 kB / 0.5828 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.3974, allocations: 15.92 kB / 0.5828 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.3976, allocations: 31.94 kB / 0.5828 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.3976, allocations: 11.98 kB / 0.5828 GB, free: 12.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002045/0.3978, allocations: 168.5 kB / 0.583 GB, free: 12.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3978, allocations: 0 / 0.583 GB, free: 12.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005666/0.3984, allocations: 123.9 kB / 0.5831 GB, free: 12.65 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.0001463/0.3985, allocations: 99.52 kB / 0.5832 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.3998, allocations: 0.7406 MB / 0.5839 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3998, allocations: 0 / 0.5839 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001405/0.4012, allocations: 0.7249 MB / 0.5846 GB, free: 10.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.4016, allocations: 34.86 kB / 0.5847 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.4028, allocations: 0.5899 MB / 0.5852 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.403, allocations: 171.7 kB / 0.5854 GB, free: 10.13 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/0.403, allocations: 19.38 kB / 0.5854 GB, free: 10.11 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.403, allocations: 0 / 0.5854 GB, free: 10.11 MB / 430.1 MB Notification: Performance of Templates: time 0.01255/0.4156, allocations: 8.472 MB / 0.5937 GB, free: 1.637 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.846823046915233]