Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.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.001022/0.001022, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001044/0.001044, allocations: 168.5 kB / 24.84 MB, free: 9.297 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.008/1.008, allocations: 158.6 MB / 186.7 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.142/0.142, allocations: 32.37 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 348.9 MB, free: 9.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.642e-05/2.802e-05, allocations: 8.219 kB / 348.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.003289/0.003317, allocations: 2.393 MB / 351.3 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.004599, allocations: 0.7759 MB / 352.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.00479, allocations: 7.938 kB / 352.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001999/0.00499, allocations: 55.52 kB / 352.1 MB, free: 5.934 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002765/0.005266, allocations: 103.2 kB / 352.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.005546, allocations: 95.78 kB / 352.3 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.005915, allocations: 366.6 kB / 352.7 MB, free: 5.379 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.006093, allocations: 56.91 kB / 352.7 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002906/0.006384, allocations: 199.6 kB / 352.9 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.006532, allocations: 115.7 kB / 353 MB, free: 5.02 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.136e-05/0.006574, allocations: 32 kB / 353.1 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.494e-05/0.006609, allocations: 28 kB / 353.1 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.774e-05/0.006656, allocations: 67.73 kB / 353.2 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.482e-05/0.006741, allocations: 103.7 kB / 353.3 MB, free: 4.793 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.006997, allocations: 235.1 kB / 353.5 MB, free: 4.562 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.007001, allocations: 4 kB / 353.5 MB, free: 4.559 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.007002, allocations: 0 / 353.5 MB, free: 4.559 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.007008, allocations: 0 / 353.5 MB, free: 4.559 MB / 282.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.0007531/0.007761, allocations: 0.6478 MB / 354.1 MB, free: 3.875 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.007798, allocations: 8.031 kB / 354.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.384e-05/0.007882, allocations: 56.7 kB / 354.2 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.008115, allocations: 208 kB / 354.4 MB, free: 3.582 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.008133, allocations: 16.88 kB / 354.4 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.008166, allocations: 28.38 kB / 354.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.008435, allocations: 177.3 kB / 354.6 MB, free: 3.355 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.008446, allocations: 4.188 kB / 354.6 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.00847, allocations: 12.38 kB / 354.6 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.008479, allocations: 7.938 kB / 354.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.008639, allocations: 83.42 kB / 354.7 MB, free: 3.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009585/0.009598, allocations: 0.715 MB / 355.5 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/0.009871, allocations: 187 kB / 355.6 MB, free: 2.301 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.009972, allocations: 67.66 kB / 355.7 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.01, allocations: 12 kB / 355.7 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.01002, allocations: 33.39 kB / 355.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 2.685e-06/0.01002, allocations: 0 / 355.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.002614/0.01264, allocations: 0.7928 MB / 356.5 MB, free: 1.359 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.01266, allocations: 59.34 kB / 356.6 MB, free: 1.289 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.01282, allocations: 272.2 kB / 356.9 MB, free: 1.004 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.01284, allocations: 29.7 kB / 356.9 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.28e-05/0.01293, allocations: 216 kB / 357.1 MB, free: 0.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.8e-05/0.01299, allocations: 115 kB / 357.2 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-05/0.01307, allocations: 55.34 kB / 357.3 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.01316, allocations: 0.5117 MB / 357.8 MB, free: 52 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.031e-05/0.01323, allocations: 35.97 kB / 357.8 MB, free: 16 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.01337, allocations: 71.31 kB / 357.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.01357, allocations: 113 kB / 358 MB, free: 15.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.01358, allocations: 3.984 kB / 358 MB, free: 15.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001078/0.01465, allocations: 428.6 kB / 358.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.01467, allocations: 8 kB / 358.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.01468, allocations: 3.938 kB / 358.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001747/0.01643, allocations: 462.3 kB / 358.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.01655, allocations: 27.92 kB / 358.9 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008875/0.02543, allocations: 7.628 MB / 366.5 MB, free: 6.777 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.02563, allocations: 27.91 kB / 366.6 MB, free: 6.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.02565, allocations: 4 kB / 366.6 MB, free: 6.746 MB / 298.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.0002007/0.02585, allocations: 176.6 kB / 366.7 MB, free: 6.562 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.946e-05/0.02592, allocations: 31.86 kB / 366.8 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.02713, allocations: 442.9 kB / 367.2 MB, free: 6.078 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.02714, allocations: 8 kB / 367.2 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.02714, allocations: 0 / 367.2 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.02715, allocations: 0 / 367.2 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/0.02751, allocations: 224.8 kB / 367.4 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.02751, allocations: 0 / 367.4 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.926e-05/0.0276, allocations: 15.98 kB / 367.4 MB, free: 5.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001924/0.02953, allocations: 458.2 kB / 367.9 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.02954, allocations: 4 kB / 367.9 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004858/0.0344, allocations: 7.684 MB / 375.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.0344, allocations: 0 / 375.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007201/0.03512, allocations: 0.5603 MB / 376.1 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.593e-05/0.03515, allocations: 27.78 kB / 376.2 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.03517, allocations: 15.92 kB / 376.2 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.03525, allocations: 8 kB / 376.2 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.806e-05/0.03535, allocations: 27.94 kB / 376.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.03536, allocations: 8 kB / 376.2 MB, free: 12.51 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.849e-05/0.03544, allocations: 181.1 kB / 376.4 MB, free: 12.33 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03544, allocations: 4 kB / 376.4 MB, free: 12.33 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004205/0.03586, allocations: 119.9 kB / 376.5 MB, free: 12.21 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.0001058/0.03597, allocations: 95.25 kB / 376.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007482/0.03671, allocations: 0.8742 MB / 377.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.03672, allocations: 0 / 377.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007833/0.0375, allocations: 0.9168 MB / 378.4 MB, free: 10.17 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.03773, allocations: 20.5 kB / 378.4 MB, free: 10.15 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007004/0.03843, allocations: 0.4987 MB / 378.9 MB, free: 9.617 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.572e-05/0.03851, allocations: 104.6 kB / 379 MB, free: 9.496 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.318e-05/0.03855, allocations: 9.969 kB / 379 MB, free: 9.484 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.298e-05/0.03862, allocations: 86.19 kB / 379.1 MB, free: 9.398 MB / 314.7 MB Notification: Performance of SimCode: time 1.133e-06/0.03863, allocations: 0 / 379.1 MB, free: 9.398 MB / 314.7 MB Notification: Performance of Templates: time 0.01135/0.04997, allocations: 9.342 MB / 388.5 MB, free: 96 kB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/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.524607714265585]