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.001546/0.001546, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001821/0.001821, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.493/1.493, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.218/0.218, allocations: 44.91 MB / 359.6 MB, free: 6.27 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.002159/0.002159, allocations: 75.88 kB / 0.4943 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3018, allocations: 65.45 MB / 0.5582 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003973/0.3058, allocations: 2.534 MB / 0.5607 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.3073, allocations: 0.8451 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.3074, allocations: 4 kB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.3076, allocations: 63.5 kB / 0.5616 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.3079, allocations: 107.2 kB / 0.5617 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.3082, allocations: 99.86 kB / 0.5618 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003874/0.3086, allocations: 354.7 kB / 0.5621 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.3087, allocations: 76.55 kB / 0.5622 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.309, allocations: 147.5 kB / 0.5624 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.3092, allocations: 159.3 kB / 0.5625 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.266e-05/0.3093, allocations: 28 kB / 0.5625 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.66e-05/0.3094, allocations: 32 kB / 0.5626 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.308e-05/0.3094, allocations: 71.69 kB / 0.5626 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.3096, allocations: 155.2 kB / 0.5628 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004394/0.31, allocations: 377.1 kB / 0.5631 GB, free: 2.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.31, allocations: 3.984 kB / 0.5631 GB, free: 2.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.31, allocations: 0 / 0.5631 GB, free: 2.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.31, allocations: 4 kB / 0.5631 GB, free: 2.66 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.001147/0.3112, allocations: 0.5557 MB / 0.5637 GB, free: 2.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.3112, allocations: 8.031 kB / 0.5637 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.3113, allocations: 40.7 kB / 0.5637 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.3117, allocations: 216.9 kB / 0.5639 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.3117, allocations: 16.88 kB / 0.564 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.6e-05/0.3118, allocations: 28.36 kB / 0.564 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005091/0.3123, allocations: 252.3 kB / 0.5642 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3123, allocations: 4 kB / 0.5642 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.3123, allocations: 8 kB / 0.5642 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.3123, allocations: 8 kB / 0.5642 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005089/0.3128, allocations: 241.7 kB / 0.5645 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.3143, allocations: 0.8353 MB / 0.5653 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005483/0.3148, allocations: 284.9 kB / 0.5656 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.3151, allocations: 120.9 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.143e-05/0.3152, allocations: 8 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.3152, allocations: 38.55 kB / 0.5657 GB, free: 15.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.493e-06/0.3152, allocations: 0 / 0.5657 GB, free: 15.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004678/0.3199, allocations: 0.9649 MB / 0.5667 GB, free: 14.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.3199, allocations: 55.41 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.3202, allocations: 233.1 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.3202, allocations: 29.7 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.3204, allocations: 169.3 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.961e-05/0.3204, allocations: 107.1 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.905e-05/0.3205, allocations: 45.7 kB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3207, allocations: 342.8 kB / 0.5676 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.3209, allocations: 95.95 kB / 0.5677 GB, free: 13.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.3212, allocations: 118.8 kB / 0.5678 GB, free: 13.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004779/0.3217, allocations: 231.3 kB / 0.568 GB, free: 13.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3217, allocations: 0 / 0.568 GB, free: 13.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001859/0.3235, allocations: 0.5412 MB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3235, allocations: 8 kB / 0.5686 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3235, allocations: 4 kB / 0.5686 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/0.3253, allocations: 323.1 kB / 0.5689 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.3255, allocations: 31.91 kB / 0.5689 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007678/0.3332, allocations: 6.443 MB / 0.5752 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/0.3334, allocations: 27.83 kB / 0.5752 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.3334, allocations: 4 kB / 0.5752 GB, free: 5.57 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.000177/0.3336, allocations: 149.8 kB / 0.5754 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.3337, allocations: 31.81 kB / 0.5754 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/0.3355, allocations: 0.5462 MB / 0.5759 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3355, allocations: 4 kB / 0.5759 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.3355, allocations: 4.125 kB / 0.5759 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3355, allocations: 0 / 0.5759 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004341/0.336, allocations: 336.4 kB / 0.5763 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.336, allocations: 0 / 0.5763 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.3361, allocations: 19.97 kB / 0.5763 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001621/0.3377, allocations: 311.2 kB / 0.5766 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.3377, allocations: 8 kB / 0.5766 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007854/0.3456, allocations: 6.495 MB / 0.5829 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3456, allocations: 0 / 0.5829 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.3474, allocations: 0.6206 MB / 0.5835 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.878e-05/0.3475, allocations: 31.69 kB / 0.5836 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.3475, allocations: 8 kB / 0.5836 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.3477, allocations: 11.98 kB / 0.5836 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.3478, allocations: 32.19 kB / 0.5836 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.3478, allocations: 12 kB / 0.5836 GB, free: 12.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001781/0.348, allocations: 165.2 kB / 0.5838 GB, free: 12.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.348, allocations: 0 / 0.5838 GB, free: 12.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005327/0.3486, allocations: 123.9 kB / 0.5839 GB, free: 12.11 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.0001198/0.3487, allocations: 107.2 kB / 0.584 GB, free: 12 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.3498, allocations: 0.7404 MB / 0.5847 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3498, allocations: 0 / 0.5847 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.3511, allocations: 0.7289 MB / 0.5854 GB, free: 10.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.3514, allocations: 28.42 kB / 0.5855 GB, free: 10.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.3525, allocations: 0.5937 MB / 0.586 GB, free: 9.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.3529, allocations: 0.7795 MB / 0.5868 GB, free: 8.965 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.353, allocations: 11.44 kB / 0.5868 GB, free: 8.953 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.353, allocations: 0 / 0.5868 GB, free: 8.953 MB / 430.1 MB Notification: Performance of Templates: time 0.01099/0.364, allocations: 8.362 MB / 0.595 GB, free: 0.5898 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.539453889941797]