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.001065/0.001065, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001098/0.001098, allocations: 165 kB / 24.56 MB, free: 16 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.074/1.074, allocations: 177.1 MB / 205 MB, free: 5.301 MB / 186.7 MB " [Timeout remaining time 179] 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.2545/0.2545, allocations: 34.26 MB / 295.7 MB, free: 0.7344 MB / 266.7 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 2.174e-06/2.174e-06, allocations: 0 / 378 MB, free: 2.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/3.046e-05, allocations: 2.312 kB / 378 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004106/0.004137, allocations: 2.524 MB / 380.6 MB, free: 156 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.005726, allocations: 0.8139 MB / 381.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.005888, allocations: 4 kB / 381.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.006124, allocations: 59.45 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.006447, allocations: 111.1 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.006772, allocations: 107.7 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004041/0.007176, allocations: 362.6 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.007343, allocations: 64.83 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003388/0.007681, allocations: 207.6 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.007874, allocations: 119.6 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.434e-05/0.007929, allocations: 28 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-05/0.008008, allocations: 35.98 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.613e-05/0.008064, allocations: 67.73 kB / 382.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.008171, allocations: 103.8 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.008492, allocations: 251.1 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.008495, allocations: 3.938 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.008496, allocations: 0 / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.008502, allocations: 0 / 382.9 MB, free: 13.84 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.0009543/0.009456, allocations: 0.6556 MB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.009499, allocations: 8.031 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.009676, allocations: 60.7 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.009969, allocations: 211.5 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.009992, allocations: 20.88 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.01003, allocations: 24.38 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.01042, allocations: 201.2 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.01043, allocations: 192 / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.01046, allocations: 12.38 kB / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.01048, allocations: 7.938 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002832/0.01076, allocations: 114.9 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.012, allocations: 0.7496 MB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/0.01243, allocations: 215.7 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.0126, allocations: 91.58 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.01263, allocations: 8 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.01266, allocations: 37.39 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 2.054e-06/0.01266, allocations: 0 / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.003207/0.01587, allocations: 0.835 MB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.0159, allocations: 59.34 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.01609, allocations: 292.3 kB / 386.4 MB, free: 10.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.01611, allocations: 29.7 kB / 386.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.854e-05/0.01621, allocations: 220 kB / 386.7 MB, free: 9.809 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.632e-05/0.01626, allocations: 111 kB / 386.8 MB, free: 9.699 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.583e-05/0.01634, allocations: 55.36 kB / 386.8 MB, free: 9.637 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.01648, allocations: 0.5079 MB / 387.3 MB, free: 9.117 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.183e-05/0.01656, allocations: 47.83 kB / 387.4 MB, free: 9.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.01667, allocations: 81.09 kB / 387.5 MB, free: 8.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.01691, allocations: 141 kB / 387.6 MB, free: 8.836 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01691, allocations: 0 / 387.6 MB, free: 8.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008015/0.01771, allocations: 461.5 kB / 388.1 MB, free: 8.363 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.01773, allocations: 11.94 kB / 388.1 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.01773, allocations: 0 / 388.1 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/0.01918, allocations: 482.2 kB / 388.5 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.04e-05/0.01927, allocations: 23.98 kB / 388.6 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004889/0.02416, allocations: 7.785 MB / 396.4 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.995e-05/0.02425, allocations: 23.84 kB / 396.4 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.02427, allocations: 8 kB / 396.4 MB, free: 15.53 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 9.869e-05/0.02437, allocations: 164.6 kB / 396.5 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.02441, allocations: 43.75 kB / 396.6 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007799/0.02519, allocations: 471.7 kB / 397 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.02519, allocations: 4 kB / 397.1 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-07/0.02519, allocations: 0 / 397.1 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.02519, allocations: 0 / 397.1 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.02542, allocations: 248.4 kB / 397.3 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.02542, allocations: 0 / 397.3 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.085e-05/0.02548, allocations: 19.98 kB / 397.3 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001197/0.02667, allocations: 478.2 kB / 397.8 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.02669, allocations: 11.94 kB / 397.8 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00454/0.03123, allocations: 7.849 MB / 405.6 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.03123, allocations: 0 / 405.6 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008209/0.03205, allocations: 0.5877 MB / 406.2 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.03208, allocations: 27.75 kB / 406.3 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.0321, allocations: 11.94 kB / 406.3 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.486e-05/0.03218, allocations: 8 kB / 406.3 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.03231, allocations: 39.92 kB / 406.3 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.03232, allocations: 4 kB / 406.3 MB, free: 4.973 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001167/0.03244, allocations: 201.1 kB / 406.5 MB, free: 4.777 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03244, allocations: 4 kB / 406.5 MB, free: 4.773 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004161/0.03285, allocations: 119.9 kB / 406.6 MB, free: 4.656 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.0001306/0.03298, allocations: 103.2 kB / 406.7 MB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006875/0.03367, allocations: 0.8853 MB / 407.6 MB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.03367, allocations: 0 / 407.6 MB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009638/0.03464, allocations: 0.917 MB / 408.5 MB, free: 2.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.03487, allocations: 26.67 kB / 408.6 MB, free: 2.562 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008955/0.03576, allocations: 0.5517 MB / 409.1 MB, free: 1.984 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.36e-05/0.03585, allocations: 96.61 kB / 409.2 MB, free: 1.871 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.206e-05/0.03589, allocations: 9.953 kB / 409.2 MB, free: 1.863 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.03592, allocations: 20.5 kB / 409.2 MB, free: 1.844 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.03592, allocations: 0 / 409.2 MB, free: 1.844 MB / 378.7 MB Notification: Performance of Templates: time 0.01079/0.04672, allocations: 9.143 MB / 418.4 MB, free: 8.738 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.510955938603729]