Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 77.88 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 168.3 kB / 24.82 MB, free: 9.262 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.091/1.091, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3327/0.3327, allocations: 32.8 MB / 294.6 MB, free: 1.168 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 376.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/3.043e-05, allocations: 5.547 kB / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.002765/0.002796, allocations: 2.372 MB / 378.8 MB, free: 2 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000898/0.003694, allocations: 0.6621 MB / 379.5 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.882e-05/0.003792, allocations: 4 kB / 379.5 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.397e-05/0.003866, allocations: 39.58 kB / 379.5 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001624/0.004029, allocations: 79.2 kB / 379.6 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.004285, allocations: 87.88 kB / 379.7 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.00453, allocations: 355 kB / 380.1 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.004758, allocations: 111.8 kB / 380.2 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.005036, allocations: 219.5 kB / 380.4 MB, free: 460 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.005177, allocations: 111.7 kB / 380.5 MB, free: 348 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.788e-05/0.005215, allocations: 32 kB / 380.5 MB, free: 316 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.089e-05/0.005286, allocations: 36 kB / 380.6 MB, free: 280 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.62e-05/0.005332, allocations: 71.73 kB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.854e-05/0.005411, allocations: 107.8 kB / 380.7 MB, free: 100 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.005658, allocations: 243.3 kB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.005661, allocations: 3.984 kB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005662, allocations: 4 kB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.005667, allocations: 0 / 381 MB, free: 15.85 MB / 362.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.0006162/0.006284, allocations: 0.6092 MB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.006325, allocations: 12.03 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000194/0.006519, allocations: 72.73 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.006624, allocations: 152.1 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.006647, allocations: 25.02 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.006679, allocations: 32.38 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.006898, allocations: 199.3 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.006909, allocations: 192 / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.006928, allocations: 16.38 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.00694, allocations: 11.94 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.007046, allocations: 96.44 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009195/0.007965, allocations: 0.8231 MB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.181e-05/0.008017, allocations: 27.06 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.464e-05/0.008042, allocations: 19.73 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.00805, allocations: 11.88 kB / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.008074, allocations: 33.39 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.008075, allocations: 4 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001423/0.008218, allocations: 49.61 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.008248, allocations: 51.41 kB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.008426, allocations: 297.5 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.008436, allocations: 25.7 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.008564, allocations: 306 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.855e-06/0.008572, allocations: 3.953 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.92e-05/0.008641, allocations: 63.42 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.008789, allocations: 0.5078 MB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.799e-05/0.008827, allocations: 27.92 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6e-05/0.008887, allocations: 63.81 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.114e-05/0.008968, allocations: 67.36 kB / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.008971, allocations: 3.984 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001731/0.009144, allocations: 162 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.009159, allocations: 7.984 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.009165, allocations: 0 / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.009181, allocations: 4 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.009325, allocations: 63.88 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.00933, allocations: 4 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.432e-05/0.009424, allocations: 35.72 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.009435, allocations: 11.92 kB / 384.8 MB, free: 11.77 MB / 362.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 8.34e-05/0.009518, allocations: 164.5 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.009538, allocations: 15.91 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/0.009569, allocations: 20.64 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.00957, allocations: 0 / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.009573, allocations: 4 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.009578, allocations: 4 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.009899, allocations: 484.4 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.009901, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.198e-05/0.009913, allocations: 7.984 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.009915, allocations: 0 / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-06/0.009918, allocations: 0 / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.009921, allocations: 7.938 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.009922, allocations: 0 / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.326e-05/0.009995, allocations: 91.98 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.01002, allocations: 19.98 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.01003, allocations: 7.938 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.708e-05/0.01007, allocations: 4 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.01009, allocations: 11.92 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.01009, allocations: 0 / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.725e-05/0.01018, allocations: 192.5 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01018, allocations: 0 / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001646/0.01034, allocations: 71.78 kB / 385.9 MB, free: 10.61 MB / 362.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 7.088e-05/0.01041, allocations: 91.25 kB / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001209/0.01053, allocations: 79.58 kB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01053, allocations: 0 / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.256e-05/0.01055, allocations: 15.62 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.01071, allocations: 24.67 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004194/0.01113, allocations: 371.1 kB / 386.5 MB, free: 9.977 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.326e-05/0.01117, allocations: 75.97 kB / 386.6 MB, free: 9.879 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.282e-05/0.01123, allocations: 21.62 kB / 386.6 MB, free: 9.859 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.587e-05/0.01131, allocations: 90.19 kB / 386.7 MB, free: 9.77 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01131, allocations: 0 / 386.7 MB, free: 9.77 MB / 362.7 MB Notification: Performance of Templates: time 0.003459/0.01477, allocations: 1.685 MB / 388.4 MB, free: 8.113 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","",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.3471807781606913]