Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.001468/0.001468, allocations: 84.55 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001415/0.001415, allocations: 163.2 kB / 23.95 MB, free: 4.156 MB / 14.72 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.457/1.457, allocations: 177.2 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.2057/0.2057, allocations: 32.81 MB / 293.5 MB, free: 16 kB / 270.1 MB " [Timeout remaining time 180] 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.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 440.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.973e-05, allocations: 2.281 kB / 440.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006943/0.006973, allocations: 4.756 MB / 444.8 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00336/0.01033, allocations: 1.576 MB / 446.4 MB, free: 1.777 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006431/0.01098, allocations: 20 kB / 446.4 MB, free: 1.758 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003968/0.01494, allocations: 1.562 MB / 448 MB, free: 196 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2124/0.2274, allocations: 324.7 kB / 448.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002107/0.2295, allocations: 0.4953 MB / 448.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001767/0.2312, allocations: 0.8336 MB / 449.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001871/0.2331, allocations: 0.6276 MB / 450.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001659/0.2348, allocations: 0.4995 MB / 450.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009292/0.2357, allocations: 346.9 kB / 451.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002947/0.236, allocations: 76.62 kB / 451.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007539/0.2367, allocations: 198 kB / 451.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.2369, allocations: 178.8 kB / 451.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003776/0.2372, allocations: 287.1 kB / 451.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001748/0.239, allocations: 1.18 MB / 453 MB, free: 14.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.239, allocations: 3 kB / 453 MB, free: 14.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.239, allocations: 0 / 453 MB, free: 14.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.682e-05/0.239, allocations: 1.5 kB / 453 MB, free: 14.55 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003949/0.243, allocations: 1.299 MB / 454.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.243, allocations: 15.3 kB / 454.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/0.2448, allocations: 236.2 kB / 454.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.2451, allocations: 194.3 kB / 454.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-05/0.2452, allocations: 74.25 kB / 454.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.2454, allocations: 102.2 kB / 454.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.2471, allocations: 0.939 MB / 455.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/0.2471, allocations: 3.25 kB / 455.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.278e-05/0.2472, allocations: 44.53 kB / 455.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.932e-05/0.2473, allocations: 25.19 kB / 455.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.2486, allocations: 0.7226 MB / 456.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004633/0.2533, allocations: 2.712 MB / 459.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.2551, allocations: 0.7744 MB / 460.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003872/0.2555, allocations: 267.4 kB / 460.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.2556, allocations: 27.11 kB / 460.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.2556, allocations: 44.88 kB / 460.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 3.116e-06/0.2556, allocations: 0 / 460.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.002882/0.2585, allocations: 1.019 MB / 461.5 MB, free: 10.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.2585, allocations: 137.1 kB / 461.6 MB, free: 10.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004642/0.259, allocations: 299.4 kB / 461.9 MB, free: 9.855 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.259, allocations: 40.42 kB / 462 MB, free: 9.812 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.2593, allocations: 416.4 kB / 462.4 MB, free: 9.484 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.2594, allocations: 237.3 kB / 462.6 MB, free: 9.301 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.2597, allocations: 148.5 kB / 462.7 MB, free: 9.219 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.087e-05/0.2597, allocations: 347.4 kB / 463.1 MB, free: 8.891 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.2601, allocations: 204.4 kB / 463.3 MB, free: 8.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005024/0.2606, allocations: 398.5 kB / 463.7 MB, free: 8.523 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008332/0.2615, allocations: 0.6279 MB / 464.3 MB, free: 8.098 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.2615, allocations: 2.781 kB / 464.3 MB, free: 8.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001569/0.263, allocations: 0.879 MB / 465.2 MB, free: 7.738 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.2631, allocations: 12.12 kB / 465.2 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.2631, allocations: 6.219 kB / 465.2 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007105/0.2638, allocations: 225.8 kB / 465.4 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000519/0.2643, allocations: 138.3 kB / 465.6 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005011/0.2693, allocations: 6.167 MB / 471.7 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008125/0.2701, allocations: 82.48 kB / 471.8 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.386e-05/0.2702, allocations: 32 kB / 471.8 MB, free: 2.051 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * 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): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006493/0.2709, allocations: 224.6 kB / 472.1 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.2711, allocations: 43.84 kB / 472.1 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/0.2729, allocations: 0.676 MB / 472.8 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.2729, allocations: 8.438 kB / 472.8 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.2729, allocations: 9.062 kB / 472.8 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.2729, allocations: 9.281 kB / 472.8 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/0.2754, allocations: 1.337 MB / 474.1 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.2754, allocations: 1.828 kB / 474.1 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.2756, allocations: 71.64 kB / 474.2 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005915/0.2762, allocations: 216.2 kB / 474.4 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/0.2763, allocations: 17.83 kB / 474.4 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007346/0.2836, allocations: 6.154 MB / 480.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.2836, allocations: 1.375 kB / 480.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/0.286, allocations: 1.198 MB / 481.8 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.2862, allocations: 41.39 kB / 481.8 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.2863, allocations: 19.83 kB / 481.9 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004115/0.2867, allocations: 12.12 kB / 481.9 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.2869, allocations: 65.12 kB / 481.9 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.062e-05/0.2869, allocations: 16.38 kB / 481.9 MB, free: 10.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003043/0.2872, allocations: 188.9 kB / 482.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2872, allocations: 1.375 kB / 482.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00198/0.2892, allocations: 286.5 kB / 482.4 MB, free: 10.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.port_p.reference.gamma) * 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 (42): * Single equations (assignments): 38 * 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): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005193/0.2897, allocations: 149.7 kB / 482.6 MB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002648/0.2924, allocations: 1.045 MB / 483.6 MB, free: 9.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.2924, allocations: 0 / 483.6 MB, free: 9.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.2936, allocations: 0.7562 MB / 484.4 MB, free: 8.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007337/0.2943, allocations: 38.8 kB / 484.4 MB, free: 8.777 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/0.2981, allocations: 1.183 MB / 485.6 MB, free: 8.086 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008385/0.2989, allocations: 316.8 kB / 485.9 MB, free: 7.977 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003642/0.2993, allocations: 65.2 kB / 486 MB, free: 7.953 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.2994, allocations: 39.89 kB / 486 MB, free: 7.941 MB / 382.1 MB Notification: Performance of SimCode: time 1.623e-06/0.2994, allocations: 0 / 486 MB, free: 7.941 MB / 382.1 MB Notification: Performance of Templates: time 0.01783/0.3172, allocations: 6.77 MB / 492.8 MB, free: 3.227 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.19152681902051]