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.001017/0.001017, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001177/0.001177, allocations: 166.4 kB / 24.99 MB, free: 8.746 MB / 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.097/1.097, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.3063/0.3063, allocations: 34.25 MB / 296 MB, free: 0.707 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 1.923e-06/1.923e-06, allocations: 0 / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.041e-05, allocations: 6.312 kB / 378 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004279/0.004309, allocations: 2.506 MB / 380.5 MB, free: 440 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.006003, allocations: 0.8178 MB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.006198, allocations: 4 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.006453, allocations: 59.5 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003385/0.006791, allocations: 115 kB / 381.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.007105, allocations: 99.84 kB / 381.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004901/0.007595, allocations: 362.6 kB / 382 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.007789, allocations: 68.77 kB / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003686/0.008158, allocations: 207.6 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.008293, allocations: 115.7 kB / 382.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.509e-05/0.008338, allocations: 32 kB / 382.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.099e-05/0.008399, allocations: 32 kB / 382.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.256e-05/0.008442, allocations: 71.72 kB / 382.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.991e-05/0.008522, allocations: 99.75 kB / 382.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.008802, allocations: 251 kB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.008805, allocations: 4 kB / 382.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.008806, allocations: 0 / 382.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.008811, allocations: 0 / 382.8 MB, free: 14.11 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.0007236/0.009535, allocations: 0.6556 MB / 383.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.009573, allocations: 12.03 kB / 383.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.009715, allocations: 56.7 kB / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.009953, allocations: 219.5 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.00997, allocations: 16.88 kB / 383.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.009997, allocations: 20.38 kB / 383.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.01029, allocations: 201.3 kB / 384 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.0103, allocations: 192 / 384 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.01032, allocations: 12.38 kB / 384 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.01033, allocations: 11.94 kB / 384 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.01052, allocations: 114.8 kB / 384.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00086/0.01138, allocations: 0.7419 MB / 384.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.01168, allocations: 215.1 kB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.0118, allocations: 87.66 kB / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.01182, allocations: 4 kB / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.01185, allocations: 37.39 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.472e-06/0.01185, allocations: 0 / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.002111/0.01396, allocations: 0.8504 MB / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.01399, allocations: 55.34 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.01416, allocations: 288.3 kB / 386.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.01418, allocations: 33.7 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.01428, allocations: 220 kB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.55e-05/0.01433, allocations: 111 kB / 386.8 MB, free: 9.977 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.507e-05/0.0144, allocations: 59.36 kB / 386.8 MB, free: 9.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.01452, allocations: 0.5079 MB / 387.3 MB, free: 9.391 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.127e-05/0.0146, allocations: 47.83 kB / 387.4 MB, free: 9.344 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.0147, allocations: 81.09 kB / 387.4 MB, free: 9.254 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.01489, allocations: 141 kB / 387.6 MB, free: 9.109 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01489, allocations: 0 / 387.6 MB, free: 9.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008109/0.0157, allocations: 465.5 kB / 388 MB, free: 8.633 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.01572, allocations: 7.938 kB / 388 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.01573, allocations: 3.984 kB / 388.1 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/0.01702, allocations: 482.2 kB / 388.5 MB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.041e-05/0.01711, allocations: 19.98 kB / 388.5 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004927/0.02204, allocations: 7.781 MB / 396.3 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.259e-05/0.02213, allocations: 27.83 kB / 396.4 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.02215, allocations: 12 kB / 396.4 MB, free: 15.8 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.0001181/0.02227, allocations: 168.5 kB / 396.5 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.02231, allocations: 35.81 kB / 396.6 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008238/0.02314, allocations: 475.7 kB / 397 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.02314, allocations: 0 / 397 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.02314, allocations: 4 kB / 397 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.02314, allocations: 0 / 397 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.02342, allocations: 252.3 kB / 397.3 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.02342, allocations: 0 / 397.3 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.116e-05/0.02347, allocations: 15.98 kB / 397.3 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001301/0.02477, allocations: 482.3 kB / 397.8 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.02479, allocations: 11.88 kB / 397.8 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00501/0.0298, allocations: 7.838 MB / 405.6 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.02981, allocations: 0 / 405.6 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009295/0.03074, allocations: 0.5877 MB / 406.2 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.03077, allocations: 27.75 kB / 406.2 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.03079, allocations: 15.92 kB / 406.2 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.649e-05/0.03088, allocations: 8 kB / 406.3 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.03101, allocations: 35.92 kB / 406.3 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.03102, allocations: 8 kB / 406.3 MB, free: 5.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001329/0.03115, allocations: 201.1 kB / 406.5 MB, free: 5.055 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03115, allocations: 0 / 406.5 MB, free: 5.055 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004235/0.03158, allocations: 123.9 kB / 406.6 MB, free: 4.934 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.0001444/0.03172, allocations: 99.19 kB / 406.7 MB, free: 4.824 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000778/0.0325, allocations: 0.8853 MB / 407.6 MB, free: 3.863 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.0325, allocations: 0 / 407.6 MB, free: 3.863 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007496/0.03325, allocations: 0.9248 MB / 408.5 MB, free: 2.863 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.0335, allocations: 28.69 kB / 408.5 MB, free: 2.832 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009984/0.0345, allocations: 0.5367 MB / 409.1 MB, free: 2.266 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.77e-05/0.03459, allocations: 104.5 kB / 409.2 MB, free: 2.145 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.566e-05/0.03463, allocations: 9.953 kB / 409.2 MB, free: 2.137 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.03467, allocations: 12.5 kB / 409.2 MB, free: 2.125 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.03467, allocations: 4 kB / 409.2 MB, free: 2.121 MB / 378.7 MB Notification: Performance of Templates: time 0.01112/0.04579, allocations: 8.837 MB / 418 MB, free: 9.328 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.7120766979642212]