Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001473/0.001473, allocations: 74.97 kB / 19.93 MB, free: 1.77 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.001814/0.001814, allocations: 173.1 kB / 23.22 MB, free: 4.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2103/0.2103, allocations: 32.37 MB / 269.6 MB, free: 4.656 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 407.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.268e-05, allocations: 2.281 kB / 407.4 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007314/0.007347, allocations: 4.726 MB / 412.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003379/0.01073, allocations: 1.55 MB / 413.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002921/0.01102, allocations: 20 kB / 413.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003804/0.01482, allocations: 1.563 MB / 415.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009109/0.01573, allocations: 321.4 kB / 415.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.01699, allocations: 498.4 kB / 416 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.01803, allocations: 0.8392 MB / 416.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.01909, allocations: 0.6311 MB / 417.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006432/0.01974, allocations: 0.495 MB / 418 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005306/0.02027, allocations: 343 kB / 418.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.02038, allocations: 76 kB / 418.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004392/0.02082, allocations: 187.8 kB / 418.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.02099, allocations: 179.3 kB / 418.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003153/0.02131, allocations: 283.3 kB / 419 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.02277, allocations: 1.168 MB / 420.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.02278, allocations: 0 / 420.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.02278, allocations: 0 / 420.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.072e-05/0.0228, allocations: 0 / 420.2 MB, free: 6.113 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003723/0.02652, allocations: 1.293 MB / 421.5 MB, free: 4.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.02657, allocations: 15.95 kB / 421.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/0.02808, allocations: 228.2 kB / 421.7 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.02835, allocations: 205.2 kB / 421.9 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.746e-05/0.02843, allocations: 70.38 kB / 422 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.02859, allocations: 100.4 kB / 422.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.0303, allocations: 0.9249 MB / 423 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.932e-05/0.03034, allocations: 11.89 kB / 423 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.03044, allocations: 44 kB / 423.1 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.699e-05/0.03047, allocations: 24 kB / 423.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.03188, allocations: 0.7182 MB / 423.8 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004786/0.03666, allocations: 2.695 MB / 426.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.03844, allocations: 0.7557 MB / 427.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004766/0.03892, allocations: 256.5 kB / 427.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.965e-05/0.03901, allocations: 16.33 kB / 427.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5e-05/0.03906, allocations: 50.81 kB / 427.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 3.476e-06/0.03906, allocations: 0 / 427.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.003112/0.04217, allocations: 1.016 MB / 428.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.0423, allocations: 136.5 kB / 428.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004971/0.0428, allocations: 309.6 kB / 429 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.189e-05/0.04285, allocations: 33.7 kB / 429.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003848/0.04324, allocations: 415.8 kB / 429.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/0.04348, allocations: 234 kB / 429.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002561/0.04374, allocations: 142.6 kB / 429.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002823/0.04402, allocations: 350.8 kB / 430.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003845/0.04441, allocations: 205.8 kB / 430.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005865/0.04499, allocations: 400.6 kB / 430.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.04604, allocations: 0.6236 MB / 431.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.04605, allocations: 4 kB / 431.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001876/0.04792, allocations: 0.8749 MB / 432.3 MB, free: 9.523 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.04795, allocations: 8 kB / 432.3 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.04797, allocations: 7.984 kB / 432.3 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007868/0.04876, allocations: 227.6 kB / 432.5 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005073/0.04926, allocations: 135.8 kB / 432.6 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007413/0.05668, allocations: 6.165 MB / 438.8 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008318/0.05751, allocations: 75.41 kB / 438.9 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/0.05759, allocations: 36 kB / 438.9 MB, free: 2.453 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.0005672/0.05815, allocations: 229.7 kB / 439.1 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.05834, allocations: 43.72 kB / 439.2 MB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.05976, allocations: 0.6774 MB / 439.9 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.05977, allocations: 11.94 kB / 439.9 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.05978, allocations: 4 kB / 439.9 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.05979, allocations: 3.984 kB / 439.9 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/0.06243, allocations: 1.348 MB / 441.2 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.06244, allocations: 0 / 441.2 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/0.06274, allocations: 67.95 kB / 441.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006082/0.06335, allocations: 223.4 kB / 441.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.844e-05/0.06339, allocations: 12 kB / 441.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006399/0.06979, allocations: 6.146 MB / 447.7 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.06979, allocations: 4.031 kB / 447.7 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.07167, allocations: 1.178 MB / 448.9 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.07178, allocations: 47.66 kB / 448.9 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.079e-05/0.07185, allocations: 20 kB / 448.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.07219, allocations: 12 kB / 448.9 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.07232, allocations: 63.77 kB / 449 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.07235, allocations: 16 kB / 449 MB, free: 7.828 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002502/0.0726, allocations: 201.2 kB / 449.2 MB, free: 7.633 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.0726, allocations: 0 / 449.2 MB, free: 7.633 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001123/0.07372, allocations: 279.3 kB / 449.5 MB, free: 7.359 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.0003109/0.07404, allocations: 139.1 kB / 449.6 MB, free: 7.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001758/0.07579, allocations: 1.045 MB / 450.7 MB, free: 6.117 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.0758, allocations: 0 / 450.7 MB, free: 6.117 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009732/0.07677, allocations: 0.745 MB / 451.4 MB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006881/0.07746, allocations: 48.61 kB / 451.4 MB, free: 5.273 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002309/0.07977, allocations: 1.192 MB / 452.6 MB, free: 4.039 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.08014, allocations: 314.5 kB / 452.9 MB, free: 3.703 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002372/0.08037, allocations: 68.42 kB / 453 MB, free: 3.637 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.675e-05/0.08046, allocations: 28.5 kB / 453 MB, free: 3.609 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.08046, allocations: 0 / 453 MB, free: 3.609 MB / 382.1 MB Notification: Performance of Templates: time 0.01541/0.09587, allocations: 6.624 MB / 459.7 MB, free: 13.04 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.701267413794994]