Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009569/0.0009569, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001102/0.001102, allocations: 160.2 kB / 24.91 MB, free: 8.758 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9808/0.9808, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2611/0.2611, allocations: 34.85 MB / 296.6 MB, free: 468 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.194e-05/1.312e-05, allocations: 2.312 kB / 325.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.002529/0.002542, allocations: 2.533 MB / 328.5 MB, free: 4.605 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.003618, allocations: 0.8318 MB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.822e-05/0.003716, allocations: 3.938 kB / 329.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.00387, allocations: 67.44 kB / 329.4 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.004066, allocations: 111.2 kB / 329.5 MB, free: 3.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.004243, allocations: 103.8 kB / 329.6 MB, free: 3.488 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.004499, allocations: 378.5 kB / 330 MB, free: 3.117 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.004644, allocations: 70.8 kB / 330 MB, free: 3.051 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002549/0.004899, allocations: 195.6 kB / 330.2 MB, free: 2.859 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.005038, allocations: 131.6 kB / 330.3 MB, free: 2.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.005074, allocations: 32 kB / 330.4 MB, free: 2.699 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.166e-05/0.005146, allocations: 32 kB / 330.4 MB, free: 2.668 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.197e-05/0.005188, allocations: 67.73 kB / 330.5 MB, free: 2.602 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.272e-05/0.005261, allocations: 103.8 kB / 330.6 MB, free: 2.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.00554, allocations: 247 kB / 330.8 MB, free: 2.258 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.005542, allocations: 0 / 330.8 MB, free: 2.258 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005543, allocations: 0 / 330.8 MB, free: 2.258 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.005548, allocations: 3.984 kB / 330.8 MB, free: 2.254 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.0005699/0.006118, allocations: 0.5322 MB / 331.4 MB, free: 1.699 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.746e-05/0.006145, allocations: 12.03 kB / 331.4 MB, free: 1.688 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.006252, allocations: 52.89 kB / 331.4 MB, free: 1.637 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.006447, allocations: 180.8 kB / 331.6 MB, free: 1.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.006461, allocations: 16.88 kB / 331.6 MB, free: 1.414 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.006485, allocations: 28.31 kB / 331.6 MB, free: 1.387 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.006685, allocations: 181.3 kB / 331.8 MB, free: 1.203 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.006695, allocations: 192 / 331.8 MB, free: 1.203 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.006712, allocations: 12.38 kB / 331.8 MB, free: 1.191 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.00672, allocations: 7.938 kB / 331.8 MB, free: 1.184 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.006828, allocations: 71.45 kB / 331.9 MB, free: 1.113 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006889/0.007517, allocations: 0.5588 MB / 332.5 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.007695, allocations: 154.4 kB / 332.6 MB, free: 372 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.252e-05/0.007767, allocations: 68.81 kB / 332.7 MB, free: 300 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.007792, allocations: 7.984 kB / 332.7 MB, free: 292 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.007815, allocations: 42.5 kB / 332.7 MB, free: 240 kB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.052e-06/0.007816, allocations: 0 / 332.7 MB, free: 240 kB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.001724/0.00954, allocations: 0.7419 MB / 333.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.009564, allocations: 55.41 kB / 333.5 MB, free: 15.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.009702, allocations: 217 kB / 333.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.009723, allocations: 33.7 kB / 333.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.009785, allocations: 145.2 kB / 333.9 MB, free: 15 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.979e-05/0.009834, allocations: 111 kB / 334 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-05/0.009896, allocations: 53.69 kB / 334.1 MB, free: 14.83 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.782e-05/0.009984, allocations: 342.7 kB / 334.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.44e-05/0.01003, allocations: 31.98 kB / 334.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.514e-05/0.01009, allocations: 64.17 kB / 334.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.01021, allocations: 103.3 kB / 334.6 MB, free: 14.28 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01021, allocations: 0 / 334.6 MB, free: 14.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006336/0.01085, allocations: 374.3 kB / 335 MB, free: 13.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.01086, allocations: 9.125 kB / 335 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.01086, allocations: 0 / 335 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.01194, allocations: 458.9 kB / 335.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.659e-05/0.01202, allocations: 23.98 kB / 335.4 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003266/0.01528, allocations: 5.341 MB / 340.8 MB, free: 7.715 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.01541, allocations: 23.84 kB / 340.8 MB, free: 7.691 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.01542, allocations: 12.06 kB / 340.8 MB, free: 7.68 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 8.574e-05/0.01551, allocations: 121.8 kB / 340.9 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.01554, allocations: 31.91 kB / 341 MB, free: 7.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006435/0.01619, allocations: 392.4 kB / 341.4 MB, free: 7.113 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01619, allocations: 8 kB / 341.4 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.51e-07/0.01619, allocations: 0 / 341.4 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.01619, allocations: 0 / 341.4 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.01638, allocations: 178.3 kB / 341.5 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01638, allocations: 3.984 kB / 341.5 MB, free: 6.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.619e-05/0.01644, allocations: 23.92 kB / 341.6 MB, free: 6.887 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/0.01747, allocations: 450.9 kB / 342 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.01748, allocations: 12 kB / 342 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003294/0.02077, allocations: 5.408 MB / 347.4 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.02077, allocations: 0 / 347.4 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006885/0.02146, allocations: 458.2 kB / 347.9 MB, free: 192 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.02148, allocations: 31.73 kB / 347.9 MB, free: 160 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.0215, allocations: 8 kB / 347.9 MB, free: 152 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.02157, allocations: 8 kB / 347.9 MB, free: 144 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.33e-05/0.02166, allocations: 35.92 kB / 348 MB, free: 108 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.02167, allocations: 7.938 kB / 348 MB, free: 100 kB / 314.7 MB Notification: Performance of sorting global known variables: time 5.209e-05/0.02172, allocations: 74.78 kB / 348 MB, free: 24 kB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02172, allocations: 0 / 348 MB, free: 24 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.000306/0.02203, allocations: 127.9 kB / 348.2 MB, free: 15.89 MB / 330.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 7.504e-05/0.0221, allocations: 80.36 kB / 348.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004589/0.02256, allocations: 0.6279 MB / 348.9 MB, free: 15.13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.02256, allocations: 4 kB / 348.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005015/0.02307, allocations: 0.6907 MB / 349.6 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.02323, allocations: 24.69 kB / 349.6 MB, free: 14.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006923/0.02392, allocations: 0.5451 MB / 350.1 MB, free: 13.78 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.644e-05/0.02398, allocations: 100.5 kB / 350.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.125e-05/0.02403, allocations: 9.953 kB / 350.2 MB, free: 13.65 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.323e-05/0.02409, allocations: 67.36 kB / 350.3 MB, free: 13.58 MB / 330.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02409, allocations: 4 kB / 350.3 MB, free: 13.58 MB / 330.7 MB Notification: Performance of Templates: time 0.01007/0.03416, allocations: 9.095 MB / 359.4 MB, free: 4.551 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.213460070081055]