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.000968/0.000968, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009254/0.0009254, allocations: 171.8 kB / 24.92 MB, free: 8.723 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 0.99/0.99, allocations: 177.1 MB / 205.3 MB, free: 5.121 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.2672/0.2672, allocations: 34.26 MB / 296.1 MB, free: 0.6719 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 4.107e-06/4.107e-06, allocations: 4 kB / 325.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.293e-05/3.704e-05, allocations: 5.891 kB / 325.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004435/0.004473, allocations: 2.492 MB / 327.7 MB, free: 5.211 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.006331, allocations: 0.8274 MB / 328.6 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.006535, allocations: 4 kB / 328.6 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.00679, allocations: 63.44 kB / 328.6 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000388/0.007178, allocations: 115.1 kB / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.007566, allocations: 95.86 kB / 328.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004733/0.00804, allocations: 366.5 kB / 329.2 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.008231, allocations: 70.8 kB / 329.3 MB, free: 3.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004714/0.008703, allocations: 215.5 kB / 329.5 MB, free: 3.469 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.008923, allocations: 119.7 kB / 329.6 MB, free: 3.352 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.699e-05/0.00898, allocations: 28 kB / 329.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.205e-05/0.009062, allocations: 32 kB / 329.6 MB, free: 3.293 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.969e-05/0.009122, allocations: 67.73 kB / 329.7 MB, free: 3.227 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.009235, allocations: 111.7 kB / 329.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.009607, allocations: 243.1 kB / 330.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.009611, allocations: 0 / 330.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.009613, allocations: 0 / 330.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.009622, allocations: 0 / 330.1 MB, free: 2.879 MB / 298.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.000892/0.01051, allocations: 0.54 MB / 330.6 MB, free: 2.316 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.01055, allocations: 15.97 kB / 330.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.01073, allocations: 48.91 kB / 330.7 MB, free: 2.254 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.01101, allocations: 180.8 kB / 330.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.01103, allocations: 20.86 kB / 330.9 MB, free: 2.031 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/0.01107, allocations: 24.38 kB / 330.9 MB, free: 2.008 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.01138, allocations: 185.3 kB / 331.1 MB, free: 1.816 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.01139, allocations: 192 / 331.1 MB, free: 1.816 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.01142, allocations: 16.31 kB / 331.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.01143, allocations: 7.938 kB / 331.1 MB, free: 1.793 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.0116, allocations: 75.45 kB / 331.2 MB, free: 1.723 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.01271, allocations: 0.5471 MB / 331.7 MB, free: 1.148 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.01299, allocations: 166.4 kB / 331.9 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.0131, allocations: 60.83 kB / 331.9 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.01313, allocations: 8 kB / 331.9 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.01316, allocations: 34.56 kB / 332 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 2.234e-06/0.01317, allocations: 4 kB / 332 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.002642/0.01581, allocations: 0.742 MB / 332.7 MB, free: 96 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.01584, allocations: 59.34 kB / 332.8 MB, free: 24 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.01605, allocations: 217.1 kB / 333 MB, free: 15.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.01607, allocations: 29.7 kB / 333 MB, free: 15.76 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.684e-05/0.01616, allocations: 145.2 kB / 333.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.926e-05/0.01624, allocations: 115 kB / 333.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.104e-05/0.01633, allocations: 49.67 kB / 333.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.01645, allocations: 350.7 kB / 333.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.394e-05/0.01652, allocations: 31.92 kB / 333.7 MB, free: 15.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.19e-05/0.01662, allocations: 55.91 kB / 333.7 MB, free: 15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.01679, allocations: 107.3 kB / 333.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.0168, allocations: 0 / 333.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009795/0.01778, allocations: 378.2 kB / 334.2 MB, free: 14.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.01779, allocations: 4 kB / 334.2 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.0178, allocations: 4 kB / 334.2 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001781/0.01958, allocations: 459 kB / 334.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.0197, allocations: 27.92 kB / 334.7 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005015/0.02471, allocations: 5.334 MB / 340 MB, free: 8.328 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.02487, allocations: 19.84 kB / 340.1 MB, free: 8.309 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.0249, allocations: 12.06 kB / 340.1 MB, free: 8.297 MB / 314.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.0001444/0.02504, allocations: 126 kB / 340.2 MB, free: 8.164 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.493e-05/0.0251, allocations: 27.92 kB / 340.2 MB, free: 8.137 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009626/0.02606, allocations: 396.4 kB / 340.6 MB, free: 7.727 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.02606, allocations: 8 kB / 340.6 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.02607, allocations: 0 / 340.6 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.02607, allocations: 3.984 kB / 340.6 MB, free: 7.715 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.02641, allocations: 177.7 kB / 340.8 MB, free: 7.523 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.02641, allocations: 0 / 340.8 MB, free: 7.523 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.499e-05/0.02649, allocations: 23.92 kB / 340.8 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001711/0.0282, allocations: 446.9 kB / 341.3 MB, free: 7.051 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.02822, allocations: 8 kB / 341.3 MB, free: 7.043 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00427/0.03249, allocations: 5.38 MB / 346.6 MB, free: 1.312 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.03249, allocations: 32 / 346.6 MB, free: 1.312 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006778/0.03317, allocations: 462.2 kB / 347.1 MB, free: 0.832 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.03321, allocations: 27.78 kB / 347.1 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.03323, allocations: 4 kB / 347.1 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.0333, allocations: 8 kB / 347.1 MB, free: 0.793 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.977e-05/0.0334, allocations: 31.94 kB / 347.2 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.03341, allocations: 11.98 kB / 347.2 MB, free: 0.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.992e-05/0.03347, allocations: 74.77 kB / 347.2 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03347, allocations: 0 / 347.2 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004024/0.03387, allocations: 131.8 kB / 347.4 MB, free: 0.5469 MB / 314.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.0001109/0.03399, allocations: 80.36 kB / 347.5 MB, free: 472 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005206/0.03451, allocations: 0.6318 MB / 348.1 MB, free: 15.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/0.03451, allocations: 4 kB / 348.1 MB, free: 15.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005376/0.03505, allocations: 0.6867 MB / 348.8 MB, free: 15.03 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.03525, allocations: 30.23 kB / 348.8 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009145/0.03616, allocations: 0.5345 MB / 349.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.193e-05/0.03624, allocations: 104.5 kB / 349.4 MB, free: 14.31 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.494e-05/0.03629, allocations: 9.953 kB / 349.4 MB, free: 14.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.77e-05/0.03636, allocations: 67.38 kB / 349.5 MB, free: 14.23 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.03636, allocations: 0 / 349.5 MB, free: 14.23 MB / 330.7 MB Notification: Performance of Templates: time 0.01077/0.04712, allocations: 9.093 MB / 358.6 MB, free: 5.199 MB / 330.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.2297548591159284]