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.000788/0.000788, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001216/0.002004, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007358/0.0007358, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000982/0.001718, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9534/0.9534, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08302/1.036, allocations: 53.88 MB / 243.8 MB, free: 14.91 MB / 250.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.2387/0.2387, allocations: 34.85 MB / 279.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02204/0.2607, allocations: 13.24 MB / 292.6 MB, free: 6.484 MB / 282.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 2.074e-06/2.074e-06, allocations: 0 / 293.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.214e-05, allocations: 3.188 kB / 293.8 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.005495/0.005517, allocations: 2.538 MB / 296.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.006838, allocations: 0.8427 MB / 297.2 MB, free: 1.824 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.006947, allocations: 4 kB / 297.2 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.007101, allocations: 59.5 kB / 297.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.007306, allocations: 119 kB / 297.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.007527, allocations: 99.78 kB / 297.5 MB, free: 1.547 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002877/0.007814, allocations: 362.6 kB / 297.9 MB, free: 1.191 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.007958, allocations: 78.72 kB / 297.9 MB, free: 1.117 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004792/0.008437, allocations: 229.7 kB / 298.2 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.008584, allocations: 115.7 kB / 298.3 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.008624, allocations: 28 kB / 298.3 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.653e-05/0.008711, allocations: 36 kB / 298.3 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.341e-05/0.008754, allocations: 59.75 kB / 298.4 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.31e-05/0.008837, allocations: 83.81 kB / 298.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.009097, allocations: 219.1 kB / 298.7 MB, free: 372 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.536e-05/0.009113, allocations: 0 / 298.7 MB, free: 372 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.009114, allocations: 0 / 298.7 MB, free: 372 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.009127, allocations: 0 / 298.7 MB, free: 372 kB / 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.0008937/0.01002, allocations: 0.5981 MB / 299.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.01005, allocations: 12.92 kB / 299.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.01022, allocations: 126 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.01044, allocations: 180.8 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.01045, allocations: 16.88 kB / 299.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.01048, allocations: 24.38 kB / 299.6 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.01072, allocations: 185.2 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.01073, allocations: 192 / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.01075, allocations: 8.375 kB / 299.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.01076, allocations: 7.938 kB / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.01089, allocations: 75.45 kB / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009101/0.0118, allocations: 0.555 MB / 300.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.01203, allocations: 164 kB / 300.6 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.888e-05/0.01212, allocations: 72.81 kB / 300.7 MB, free: 14.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.01215, allocations: 4 kB / 300.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.01217, allocations: 42.56 kB / 300.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.563e-06/0.01217, allocations: 3.938 kB / 300.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.002108/0.01428, allocations: 0.7536 MB / 301.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.01431, allocations: 51.41 kB / 301.6 MB, free: 13.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.01445, allocations: 221 kB / 301.8 MB, free: 13.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.01447, allocations: 29.7 kB / 301.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/0.01454, allocations: 157.1 kB / 301.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.616e-05/0.01459, allocations: 103.1 kB / 302 MB, free: 12.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.04e-05/0.01467, allocations: 53.67 kB / 302.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.739e-05/0.01475, allocations: 342.7 kB / 302.4 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.201e-05/0.0148, allocations: 27.98 kB / 302.5 MB, free: 12.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.01491, allocations: 66.55 kB / 302.5 MB, free: 12.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.01505, allocations: 107.8 kB / 302.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01505, allocations: 0 / 302.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007622/0.01582, allocations: 374.3 kB / 303 MB, free: 11.83 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.01583, allocations: 4 kB / 303 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01584, allocations: 0 / 303 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/0.01718, allocations: 455 kB / 303.4 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.01728, allocations: 31.91 kB / 303.5 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00438/0.02166, allocations: 5.347 MB / 308.8 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.193e-05/0.02175, allocations: 23.83 kB / 308.8 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.02176, allocations: 8 kB / 308.9 MB, free: 5.609 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 8.955e-05/0.02185, allocations: 121.8 kB / 309 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.02189, allocations: 35.94 kB / 309 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000589/0.02247, allocations: 387.3 kB / 309.4 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.02248, allocations: 4 kB / 309.4 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.32e-07/0.02248, allocations: 0 / 309.4 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.02248, allocations: 0 / 309.4 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.02268, allocations: 178.3 kB / 309.6 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.02268, allocations: 0 / 309.6 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.526e-05/0.02274, allocations: 28.11 kB / 309.6 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/0.02276, allocations: 35.73 kB / 309.6 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009628/0.02373, allocations: 442.9 kB / 310.1 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.02374, allocations: 4 kB / 310.1 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00298/0.02672, allocations: 5.403 MB / 315.5 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.02672, allocations: 3.938 kB / 315.5 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007859/0.0275, allocations: 467.6 kB / 315.9 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.02752, allocations: 4 kB / 315.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.02759, allocations: 8 kB / 315.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.386e-05/0.02767, allocations: 43.91 kB / 316 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.02768, allocations: 7.938 kB / 316 MB, free: 14.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.032e-05/0.02773, allocations: 70.78 kB / 316.1 MB, free: 13.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-08/0.02773, allocations: 4 kB / 316.1 MB, free: 13.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003264/0.02805, allocations: 123.9 kB / 316.2 MB, free: 13.84 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 8.657e-05/0.02814, allocations: 76.42 kB / 316.3 MB, free: 13.76 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004361/0.02857, allocations: 0.6367 MB / 316.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/0.02859, allocations: 12.05 kB / 316.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004737/0.02906, allocations: 0.6785 MB / 317.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.02923, allocations: 44.98 kB / 317.6 MB, free: 12.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.03057, allocations: 0.5422 MB / 318.2 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.274e-05/0.03063, allocations: 108.4 kB / 318.3 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.822e-05/0.03067, allocations: 9.969 kB / 318.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.315e-05/0.03073, allocations: 67.36 kB / 318.4 MB, free: 11.5 MB / 314.7 MB Notification: Performance of SimCode: time 7.61e-07/0.03073, allocations: 0 / 318.4 MB, free: 11.5 MB / 314.7 MB Notification: Performance of Templates: time 0.009363/0.0401, allocations: 9.167 MB / 327.5 MB, free: 2.395 MB / 314.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 -emit_protected -ignoreHideResult -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: 2.9600474080070853]