Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.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.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008856/0.0008858, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001424/0.001424, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3076/0.3076, allocations: 46.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002942/0.0002942, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1431, allocations: 63.56 MB / 483.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.002767/0.1459, allocations: 2.048 MB / 485.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.1471, allocations: 0.6546 MB / 485.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.823e-05/0.1471, allocations: 4 kB / 485.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.24e-05/0.1472, allocations: 31.77 kB / 485.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.1474, allocations: 55.53 kB / 485.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.1477, allocations: 83.84 kB / 486 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.148, allocations: 323.3 kB / 486.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002744/0.1483, allocations: 135.9 kB / 486.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.1486, allocations: 115.6 kB / 486.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.1487, allocations: 135.4 kB / 486.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.1488, allocations: 16 kB / 486.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.447e-05/0.1489, allocations: 24 kB / 486.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.011e-05/0.1489, allocations: 51.77 kB / 486.7 MB, free: 496 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.1491, allocations: 161 kB / 486.9 MB, free: 328 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003539/0.1494, allocations: 358.8 kB / 487.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1495, allocations: 0 / 487.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1495, allocations: 0 / 487.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.1495, allocations: 0 / 487.3 MB, free: 15.97 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008338/0.1503, allocations: 0.5383 MB / 487.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1504, allocations: 12.81 kB / 487.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003074/0.1507, allocations: 44.55 kB / 487.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.1509, allocations: 202.5 kB / 488 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.032e-05/0.151, allocations: 33.2 kB / 488.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.834e-05/0.151, allocations: 28.38 kB / 488.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004938/0.1515, allocations: 282.2 kB / 488.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1516, allocations: 0 / 488.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.1516, allocations: 16 kB / 488.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.1516, allocations: 8 kB / 488.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004238/0.152, allocations: 218.5 kB / 488.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.154, allocations: 1.028 MB / 489.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.864e-05/0.154, allocations: 30.58 kB / 489.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.206e-05/0.1541, allocations: 24.92 kB / 489.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.1541, allocations: 0 / 489.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.1542, allocations: 30.56 kB / 489.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.1542, allocations: 0 / 489.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002621/0.1545, allocations: 81.47 kB / 489.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.1545, allocations: 59.44 kB / 489.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004032/0.1549, allocations: 322.8 kB / 490.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.155, allocations: 25.7 kB / 490.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.1552, allocations: 234.8 kB / 490.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.1552, allocations: 11.84 kB / 490.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.1552, allocations: 29.7 kB / 490.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1554, allocations: 330.8 kB / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.1555, allocations: 67.98 kB / 490.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.1557, allocations: 93.67 kB / 491 MB, free: 12.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.1559, allocations: 127.1 kB / 491.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.156, allocations: 0 / 491.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004384/0.1564, allocations: 233.4 kB / 491.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1564, allocations: 15.97 kB / 491.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1564, allocations: 0 / 491.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1565, allocations: 0 / 491.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.1568, allocations: 59.89 kB / 491.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.1568, allocations: 0 / 491.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.1571, allocations: 39.58 kB / 491.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.1571, allocations: 12 kB / 491.4 MB, free: 11.55 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.1572, allocations: 133.8 kB / 491.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.1573, allocations: 27.66 kB / 491.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.915e-05/0.1574, allocations: 20.91 kB / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.1574, allocations: 7.984 kB / 491.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.1574, allocations: 0 / 491.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1574, allocations: 3.938 kB / 491.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007634/0.1582, allocations: 0.5033 MB / 492.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1582, allocations: 0 / 492.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.165e-05/0.1582, allocations: 4 kB / 492.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1582, allocations: 4.062 kB / 492.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.1582, allocations: 8 kB / 492.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1583, allocations: 0 / 492.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1583, allocations: 0 / 492.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.1584, allocations: 101.6 kB / 492.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.256e-05/0.1585, allocations: 104.8 kB / 492.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.1586, allocations: 4.031 kB / 492.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.1587, allocations: 7.938 kB / 492.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.1587, allocations: 3.984 kB / 492.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.1587, allocations: 0 / 492.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002975/0.159, allocations: 226 kB / 492.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.159, allocations: 0 / 492.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002884/0.1593, allocations: 63.84 kB / 492.6 MB, free: 10.22 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001745/0.1595, allocations: 99.23 kB / 492.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002922/0.1598, allocations: 115.9 kB / 492.9 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1598, allocations: 3.938 kB / 492.9 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.042e-05/0.1599, allocations: 4 kB / 492.9 MB, free: 9.996 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.1602, allocations: 32.81 kB / 492.9 MB, free: 9.961 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009011/0.1611, allocations: 488.4 kB / 493.4 MB, free: 9.449 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.1616, allocations: 0.7443 MB / 494.1 MB, free: 8.676 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.1617, allocations: 25.88 kB / 494.1 MB, free: 8.652 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.955e-05/0.1618, allocations: 19.44 kB / 494.2 MB, free: 8.633 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1618, allocations: 0 / 494.2 MB, free: 8.633 MB / 366.1 MB Notification: Performance of Templates: time 0.004687/0.1665, allocations: 1.654 MB / 495.8 MB, free: 6.992 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches