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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 109.4 kB / 17.03 MB, free: 6.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 194.9 kB / 17.96 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.243/0.243, allocations: 43.51 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 67.61 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.153, allocations: 57.8 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.003492/0.1566, allocations: 2.38 MB / 444.3 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.1578, allocations: 0.8109 MB / 445.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.1579, allocations: 4 kB / 445.2 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.1581, allocations: 59.5 kB / 445.2 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.1584, allocations: 99.25 kB / 445.3 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.1586, allocations: 99.8 kB / 445.4 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.1589, allocations: 346.7 kB / 445.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.1591, allocations: 108.5 kB / 445.9 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.1593, allocations: 135.6 kB / 446 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.1595, allocations: 151.3 kB / 446.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.308e-05/0.1596, allocations: 32 kB / 446.2 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.848e-05/0.1596, allocations: 28 kB / 446.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.242e-05/0.1597, allocations: 67.75 kB / 446.3 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.1598, allocations: 159.1 kB / 446.4 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.1601, allocations: 342.8 kB / 446.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.1601, allocations: 7.984 kB / 446.8 MB, free: 1.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.1601, allocations: 3.938 kB / 446.8 MB, free: 1.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.1601, allocations: 0 / 446.8 MB, free: 1.316 MB / 318.1 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.0009516/0.1611, allocations: 0.612 MB / 447.4 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1611, allocations: 15.89 kB / 447.4 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.126e-05/0.1612, allocations: 32.56 kB / 447.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.1615, allocations: 263.6 kB / 447.7 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.1615, allocations: 20.94 kB / 447.7 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/0.1615, allocations: 24.38 kB / 447.7 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.162, allocations: 253.1 kB / 448 MB, free: 12 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.162, allocations: 0 / 448 MB, free: 12 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.221e-05/0.1621, allocations: 16.03 kB / 448 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.1621, allocations: 4 kB / 448 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004965/0.1626, allocations: 234.1 kB / 448.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.164, allocations: 0.8598 MB / 449.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005081/0.1645, allocations: 299.9 kB / 449.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.1648, allocations: 152.8 kB / 449.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.795e-05/0.1648, allocations: 7.984 kB / 449.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.1649, allocations: 34.56 kB / 449.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/0.1649, allocations: 0 / 449.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.00437/0.1693, allocations: 1.258 MB / 450.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.1693, allocations: 55.39 kB / 450.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.1695, allocations: 213 kB / 451.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.1696, allocations: 29.7 kB / 451.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.1697, allocations: 153.2 kB / 451.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.881e-05/0.1698, allocations: 118.3 kB / 451.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.1699, allocations: 49.7 kB / 451.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1701, allocations: 338.8 kB / 451.8 MB, free: 12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.1703, allocations: 95.95 kB / 451.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.1705, allocations: 117.9 kB / 452 MB, free: 11.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.171, allocations: 231.2 kB / 452.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.171, allocations: 0 / 452.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001743/0.1727, allocations: 0.5363 MB / 452.7 MB, free: 11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.1728, allocations: 12 kB / 452.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.1728, allocations: 3.938 kB / 452.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00171/0.1745, allocations: 307.1 kB / 453 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.1747, allocations: 27.97 kB / 453.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008264/0.183, allocations: 6.828 MB / 459.9 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.1833, allocations: 27.83 kB / 459.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.1833, allocations: 16 kB / 459.9 MB, free: 3.211 MB / 334.1 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.0002639/0.1836, allocations: 146.5 kB / 460.1 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.1836, allocations: 27.7 kB / 460.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001864/0.1855, allocations: 0.5512 MB / 460.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1855, allocations: 4 kB / 460.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1855, allocations: 3.938 kB / 460.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1856, allocations: 0 / 460.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.186, allocations: 353.3 kB / 461 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.186, allocations: 0 / 461 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.1861, allocations: 19.98 kB / 461 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001478/0.1876, allocations: 319.1 kB / 461.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.1877, allocations: 8 kB / 461.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007663/0.1953, allocations: 6.889 MB / 468.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1954, allocations: 4.016 kB / 468.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.1972, allocations: 0.6115 MB / 468.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.696e-05/0.1973, allocations: 104.7 kB / 469 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.302e-05/0.1973, allocations: 8 kB / 469 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.1975, allocations: 11.98 kB / 469 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/0.1977, allocations: 35.95 kB / 469 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.1977, allocations: 8 kB / 469 MB, free: 9.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002039/0.1979, allocations: 164.4 kB / 469.2 MB, free: 9.273 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.198, allocations: 0 / 469.2 MB, free: 9.273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006299/0.1986, allocations: 119.8 kB / 469.3 MB, free: 9.156 MB / 350.1 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.0001574/0.1988, allocations: 99.25 kB / 469.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.2, allocations: 0.7563 MB / 470.2 MB, free: 8.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2, allocations: 0 / 470.2 MB, free: 8.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.2013, allocations: 0.7412 MB / 470.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.2017, allocations: 24.42 kB / 470.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.2028, allocations: 0.5341 MB / 471.5 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.2032, allocations: 0.7717 MB / 472.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.179e-05/0.2033, allocations: 13.94 kB / 472.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.2033, allocations: 11.44 kB / 472.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of SimCode: time 3.216e-06/0.2033, allocations: 0 / 472.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of Templates: time 0.01522/0.2186, allocations: 8.028 MB / 480.3 MB, free: 14.04 MB / 366.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches