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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001021/0.001021, allocations: 80.34 kB / 22.21 MB, free: 2.281 MB / 18.57 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.0009115/0.0009115, allocations: 159.5 kB / 25.61 MB, free: 8.578 MB / 18.57 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.9689/0.9689, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.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.1411/0.1411, allocations: 34.88 MB / 297.4 MB, free: 13.33 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.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 3.938 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.106e-05, allocations: 3.156 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.002285/0.002306, allocations: 2.358 MB / 382.4 MB, free: 20.37 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008941/0.0032, allocations: 0.6621 MB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.003305, allocations: 4 kB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 6.966e-05/0.003375, allocations: 39.58 kB / 383.1 MB, free: 19.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.00351, allocations: 75.27 kB / 383.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.003743, allocations: 99.75 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.003924, allocations: 351 kB / 383.6 MB, free: 19.14 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.004088, allocations: 107.8 kB / 383.7 MB, free: 19.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.004313, allocations: 211.6 kB / 383.9 MB, free: 18.83 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.004429, allocations: 115.7 kB / 384 MB, free: 18.72 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.004458, allocations: 32 kB / 384 MB, free: 18.69 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.382e-05/0.004511, allocations: 39.98 kB / 384.1 MB, free: 18.65 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.05e-05/0.004542, allocations: 67.8 kB / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.639e-05/0.004598, allocations: 111.8 kB / 384.3 MB, free: 18.47 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.004772, allocations: 243.1 kB / 384.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004774, allocations: 4 kB / 384.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004774, allocations: 0 / 384.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.004779, allocations: 0 / 384.5 MB, free: 18.23 MB / 314.7 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.0004583/0.005238, allocations: 0.6131 MB / 385.1 MB, free: 17.58 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.005267, allocations: 12.03 kB / 385.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.005438, allocations: 76.67 kB / 385.2 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.782e-05/0.005516, allocations: 148.2 kB / 385.3 MB, free: 17.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.005534, allocations: 21.03 kB / 385.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.005557, allocations: 32.38 kB / 385.4 MB, free: 17.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.005733, allocations: 199.3 kB / 385.6 MB, free: 17.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.005743, allocations: 192 / 385.6 MB, free: 17.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.005759, allocations: 16.38 kB / 385.6 MB, free: 17.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.005767, allocations: 15.94 kB / 385.6 MB, free: 17.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.32e-05/0.00586, allocations: 92.5 kB / 385.7 MB, free: 16.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007435/0.006604, allocations: 0.8464 MB / 386.6 MB, free: 16.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.869e-05/0.006642, allocations: 27.06 kB / 386.6 MB, free: 16.03 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.907e-05/0.006661, allocations: 15.75 kB / 386.6 MB, free: 16.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-06/0.006667, allocations: 4 kB / 386.6 MB, free: 16.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.223e-05/0.006679, allocations: 37.39 kB / 386.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.00668, allocations: 0 / 386.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001075/0.006788, allocations: 53.53 kB / 386.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.727e-05/0.006805, allocations: 51.41 kB / 386.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.00692, allocations: 302.5 kB / 387 MB, free: 15.53 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.09e-06/0.006925, allocations: 25.7 kB / 387.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.417e-05/0.006989, allocations: 294.1 kB / 387.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.233e-06/0.006996, allocations: 24.05 kB / 387.4 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-05/0.007046, allocations: 55.3 kB / 387.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.086e-05/0.007087, allocations: 0.5 MB / 387.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.578e-05/0.007123, allocations: 27.97 kB / 388 MB, free: 14.58 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.383e-05/0.007167, allocations: 56.33 kB / 388 MB, free: 14.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.562e-05/0.007232, allocations: 83.78 kB / 388.1 MB, free: 14.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.007234, allocations: 0 / 388.1 MB, free: 14.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001439/0.007378, allocations: 153.6 kB / 388.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.007389, allocations: 4 kB / 388.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.007393, allocations: 8.031 kB / 388.2 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.007401, allocations: 0 / 388.2 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.007544, allocations: 63.89 kB / 388.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.007547, allocations: 3.984 kB / 388.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.007648, allocations: 31.73 kB / 388.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.007656, allocations: 11.92 kB / 388.4 MB, free: 14.15 MB / 314.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 (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 5.059e-05/0.007707, allocations: 164.5 kB / 388.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.007729, allocations: 19.84 kB / 388.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.993e-05/0.007749, allocations: 16.66 kB / 388.6 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.00775, allocations: 0 / 388.6 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.007751, allocations: 4 kB / 388.6 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.007754, allocations: 3.984 kB / 388.6 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.007998, allocations: 480.4 kB / 389 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.007999, allocations: 0 / 389 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.2e-05/0.008011, allocations: 4 kB / 389 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.008012, allocations: 0 / 389 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-06/0.008017, allocations: 4 kB / 389 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.008019, allocations: 4 kB / 389 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.00802, allocations: 7.922 kB / 389.1 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.941e-05/0.00808, allocations: 100 kB / 389.1 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/0.008101, allocations: 19.89 kB / 389.2 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.008116, allocations: 0 / 389.2 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.251e-05/0.008159, allocations: 4 kB / 389.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.024e-05/0.008169, allocations: 3.938 kB / 389.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.008171, allocations: 0 / 389.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.608e-05/0.008227, allocations: 187.1 kB / 389.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008228, allocations: 0 / 389.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001587/0.008386, allocations: 71.78 kB / 389.4 MB, free: 13 MB / 314.7 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 4.739e-05/0.008434, allocations: 95.23 kB / 389.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.008536, allocations: 91.78 kB / 389.6 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.008537, allocations: 0 / 389.6 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.728e-06/0.008547, allocations: 11.69 kB / 389.6 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.008699, allocations: 16.73 kB / 389.6 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003365/0.009036, allocations: 382.9 kB / 390 MB, free: 12.36 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.53e-05/0.009061, allocations: 75.84 kB / 390.1 MB, free: 12.26 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.307e-05/0.009124, allocations: 25.61 kB / 390.1 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.009188, allocations: 90.19 kB / 390.2 MB, free: 12.14 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.009189, allocations: 0 / 390.2 MB, free: 12.14 MB / 314.7 MB Notification: Performance of Templates: time 0.003084/0.01227, allocations: 1.729 MB / 391.9 MB, free: 10.45 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.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.036891346797347]