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.001092/0.001092, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001114/0.001114, 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 0.9877/0.9877, allocations: 177.2 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] 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.296/0.296, allocations: 32.81 MB / 294.3 MB, free: 1.23 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 376 MB, free: 4.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.133e-05, allocations: 2.312 kB / 376 MB, free: 4.699 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003179/0.0032, allocations: 2.517 MB / 378.5 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.004527, allocations: 0.8178 MB / 379.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.004661, allocations: 4 kB / 379.4 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.004855, allocations: 51.52 kB / 379.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002529/0.005107, allocations: 119 kB / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.005363, allocations: 91.86 kB / 379.6 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003253/0.005688, allocations: 374.5 kB / 380 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.005847, allocations: 64.83 kB / 380 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002953/0.006143, allocations: 211.5 kB / 380.2 MB, free: 456 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.006267, allocations: 111.7 kB / 380.4 MB, free: 344 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.609e-05/0.006313, allocations: 28 kB / 380.4 MB, free: 316 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.002e-05/0.006373, allocations: 35.98 kB / 380.4 MB, free: 280 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.626e-05/0.00642, allocations: 71.73 kB / 380.5 MB, free: 208 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.544e-05/0.006495, allocations: 103.7 kB / 380.6 MB, free: 104 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.006775, allocations: 251 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.006777, allocations: 0 / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.006778, allocations: 4 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.006784, allocations: 0 / 380.8 MB, free: 15.85 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.0007641/0.007549, allocations: 0.6517 MB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.007583, allocations: 8.031 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.00773, allocations: 68.62 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.007958, allocations: 211.5 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.007977, allocations: 20.88 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.008003, allocations: 24.38 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.008288, allocations: 193.3 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.008299, allocations: 4.188 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.008318, allocations: 12.38 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.008333, allocations: 11.88 kB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.008522, allocations: 118.9 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000966/0.009488, allocations: 0.7497 MB / 382.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.009789, allocations: 206.2 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.009911, allocations: 83.66 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.009938, allocations: 8 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.009969, allocations: 45.31 kB / 383.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.803e-06/0.009971, allocations: 7.938 kB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.002087/0.01206, allocations: 0.8311 MB / 384.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.0121, allocations: 63.34 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.0123, allocations: 284.3 kB / 384.4 MB, free: 12.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.01233, allocations: 29.7 kB / 384.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.01245, allocations: 220 kB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.905e-05/0.01251, allocations: 115 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.074e-05/0.01259, allocations: 51.36 kB / 384.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.01274, allocations: 0.5079 MB / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.294e-05/0.01282, allocations: 51.83 kB / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.01292, allocations: 81.09 kB / 385.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.01311, allocations: 145 kB / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01312, allocations: 0 / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008016/0.01392, allocations: 461.5 kB / 386 MB, free: 10.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.01393, allocations: 7.938 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.01394, allocations: 0 / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/0.01518, allocations: 482.2 kB / 386.5 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.355e-05/0.01527, allocations: 19.98 kB / 386.5 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004689/0.01996, allocations: 7.79 MB / 394.3 MB, free: 1.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.248e-05/0.02005, allocations: 24.09 kB / 394.4 MB, free: 1.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.02007, allocations: 11.92 kB / 394.4 MB, free: 1.535 MB / 362.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.0001143/0.02018, allocations: 176.6 kB / 394.5 MB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.02022, allocations: 39.81 kB / 394.6 MB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007659/0.02099, allocations: 467.7 kB / 395 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.02099, allocations: 4 kB / 395 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.92e-07/0.02099, allocations: 0 / 395 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.021, allocations: 3.984 kB / 395 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.02123, allocations: 244.4 kB / 395.3 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.02123, allocations: 0 / 395.3 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.705e-05/0.02128, allocations: 19.98 kB / 395.3 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00122/0.0225, allocations: 482.2 kB / 395.8 MB, free: 40 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.02251, allocations: 7.938 kB / 395.8 MB, free: 32 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004513/0.02703, allocations: 7.846 MB / 403.6 MB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.02703, allocations: 0 / 403.6 MB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008084/0.02784, allocations: 0.5838 MB / 404.2 MB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.759e-05/0.02786, allocations: 31.75 kB / 404.2 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.02788, allocations: 7.938 kB / 404.3 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.926e-05/0.02796, allocations: 15.98 kB / 404.3 MB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.02808, allocations: 31.94 kB / 404.3 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.02809, allocations: 4 kB / 404.3 MB, free: 6.984 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001137/0.02821, allocations: 201.1 kB / 404.5 MB, free: 6.789 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02821, allocations: 0 / 404.5 MB, free: 6.789 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000387/0.02859, allocations: 119.9 kB / 404.6 MB, free: 6.672 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.0001205/0.02872, allocations: 103.2 kB / 404.7 MB, free: 6.559 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007556/0.02947, allocations: 0.897 MB / 405.6 MB, free: 5.586 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.02947, allocations: 0 / 405.6 MB, free: 5.586 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007439/0.03022, allocations: 0.9131 MB / 406.5 MB, free: 4.598 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.03046, allocations: 27.06 kB / 406.6 MB, free: 4.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009406/0.0314, allocations: 0.5336 MB / 407.1 MB, free: 4.004 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.526e-05/0.03148, allocations: 104.5 kB / 407.2 MB, free: 3.883 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.25e-05/0.03153, allocations: 9.953 kB / 407.2 MB, free: 3.875 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.377e-05/0.03156, allocations: 16.5 kB / 407.2 MB, free: 3.859 MB / 378.7 MB Notification: Performance of SimCode: time 8.41e-07/0.03156, allocations: 4 kB / 407.2 MB, free: 3.855 MB / 378.7 MB Notification: Performance of Templates: time 0.01107/0.04263, allocations: 9.162 MB / 416.4 MB, free: 10.75 MB / 394.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7929057222791016]