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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001504/0.001505, allocations: 109.7 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00181/0.00181, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 227.4 MB / 246.4 MB, free: 9.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2361/0.2361, allocations: 46.11 MB / 343.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 76.94 kB / 417 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1398, allocations: 62.44 MB / 479.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004366/0.1442, allocations: 2.533 MB / 482 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.1456, allocations: 0.8257 MB / 482.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.1457, allocations: 7.938 kB / 482.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.1459, allocations: 43.69 kB / 482.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.1462, allocations: 95.42 kB / 483 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.1465, allocations: 87.92 kB / 483.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000348/0.1469, allocations: 354 kB / 483.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002063/0.1471, allocations: 84.97 kB / 483.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.1473, allocations: 143.5 kB / 483.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.1475, allocations: 159.3 kB / 483.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.253e-05/0.1476, allocations: 32 kB / 483.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.159e-05/0.1477, allocations: 40 kB / 483.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.26e-05/0.1477, allocations: 63.77 kB / 483.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.1479, allocations: 155.1 kB / 484.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003828/0.1483, allocations: 374.7 kB / 484.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.1483, allocations: 0 / 484.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1483, allocations: 0 / 484.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1483, allocations: 0 / 484.4 MB, free: 0.582 MB / 350.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.001194/0.1495, allocations: 0.6274 MB / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1496, allocations: 16.03 kB / 485.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.1498, allocations: 44.45 kB / 485.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.1501, allocations: 262.6 kB / 485.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.1501, allocations: 20.94 kB / 485.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.304e-05/0.1501, allocations: 24.38 kB / 485.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004837/0.1506, allocations: 249.2 kB / 485.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1507, allocations: 0 / 485.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/0.1507, allocations: 15.98 kB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1507, allocations: 7.984 kB / 485.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004661/0.1512, allocations: 246 kB / 485.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.1526, allocations: 0.8753 MB / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005189/0.1531, allocations: 301.1 kB / 487.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.1534, allocations: 152.8 kB / 487.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.399e-05/0.1534, allocations: 4 kB / 487.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.1535, allocations: 30.56 kB / 487.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 3.356e-06/0.1535, allocations: 0 / 487.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.004585/0.1581, allocations: 1.27 MB / 488.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.1581, allocations: 59.39 kB / 488.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.1584, allocations: 229 kB / 488.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.1584, allocations: 29.7 kB / 488.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.1585, allocations: 173 kB / 489 MB, free: 11.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.6e-05/0.1586, allocations: 102.5 kB / 489.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.1587, allocations: 57.61 kB / 489.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1588, allocations: 338.8 kB / 489.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.1591, allocations: 99.81 kB / 489.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.1593, allocations: 121.8 kB / 489.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000439/0.1598, allocations: 232.1 kB / 490 MB, free: 10.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1598, allocations: 0 / 490 MB, free: 10.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001759/0.1615, allocations: 0.545 MB / 490.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.1616, allocations: 6.969 kB / 490.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.1616, allocations: 4 kB / 490.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001673/0.1633, allocations: 319.1 kB / 490.8 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.1634, allocations: 23.97 kB / 490.9 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007597/0.171, allocations: 6.855 MB / 497.7 MB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.1713, allocations: 19.88 kB / 497.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.1713, allocations: 12 kB / 497.8 MB, free: 2.352 MB / 366.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.0001765/0.1715, allocations: 145.7 kB / 497.9 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.1715, allocations: 31.69 kB / 497.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.1733, allocations: 0.5424 MB / 498.5 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.1733, allocations: 8 kB / 498.5 MB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1733, allocations: 11.86 kB / 498.5 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1733, allocations: 0 / 498.5 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.1738, allocations: 357.3 kB / 498.8 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1738, allocations: 0 / 498.8 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.1739, allocations: 19.98 kB / 498.9 MB, free: 1.172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001494/0.1754, allocations: 315.3 kB / 499.2 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.1754, allocations: 12 kB / 499.2 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007211/0.1826, allocations: 6.901 MB / 0.4942 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1827, allocations: 0 / 0.4942 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.1845, allocations: 0.6244 MB / 0.4948 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-05/0.1846, allocations: 108.6 kB / 0.4949 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.1847, allocations: 8 kB / 0.4949 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.1849, allocations: 11.98 kB / 0.4949 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.185, allocations: 35.95 kB / 0.495 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.185, allocations: 4 kB / 0.495 GB, free: 8.543 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001642/0.1852, allocations: 174 kB / 0.4952 GB, free: 8.371 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1852, allocations: 0 / 0.4952 GB, free: 8.371 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005437/0.1857, allocations: 119.8 kB / 0.4953 GB, free: 8.254 MB / 382.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.0001375/0.1859, allocations: 103.2 kB / 0.4954 GB, free: 8.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.187, allocations: 0.7565 MB / 0.4961 GB, free: 7.336 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1871, allocations: 0 / 0.4961 GB, free: 7.336 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.1883, allocations: 0.7289 MB / 0.4968 GB, free: 6.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.1887, allocations: 36.42 kB / 0.4968 GB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.1897, allocations: 0.6835 MB / 0.4975 GB, free: 5.809 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.19, allocations: 0.7756 MB / 0.4983 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.943e-05/0.1901, allocations: 13.95 kB / 0.4983 GB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.1902, allocations: 11.44 kB / 0.4983 GB, free: 4.984 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1902, allocations: 0 / 0.4983 GB, free: 4.984 MB / 382.1 MB Notification: Performance of Templates: time 0.2393/0.4295, allocations: 7.991 MB / 0.5061 GB, free: 40.65 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches