Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001836/0.001836, allocations: 84.62 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.002375/0.002375, allocations: 167.2 kB / 23.96 MB, free: 4.152 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.629/1.629, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2543/0.2543, allocations: 34.28 MB / 294.9 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.208e-06/4.208e-06, allocations: 3.984 kB / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.528e-05/3.948e-05, allocations: 2.281 kB / 442.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007664/0.007704, allocations: 4.76 MB / 447.4 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2005/0.2082, allocations: 1.57 MB / 449 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003335/0.2085, allocations: 19.31 kB / 449 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00467/0.2132, allocations: 1.565 MB / 450.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.2146, allocations: 328.5 kB / 450.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.2163, allocations: 0.4939 MB / 451.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001293/0.2176, allocations: 0.8316 MB / 452.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.2189, allocations: 0.6308 MB / 452.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000967/0.2199, allocations: 0.5059 MB / 453.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007274/0.2206, allocations: 347.5 kB / 453.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001516/0.2208, allocations: 74.25 kB / 453.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006972/0.2214, allocations: 193.3 kB / 454 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.2216, allocations: 177.2 kB / 454.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004615/0.2221, allocations: 291.6 kB / 454.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002383/0.2245, allocations: 1.186 MB / 455.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.2245, allocations: 3.516 kB / 455.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.2245, allocations: 3.938 kB / 455.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.905e-05/0.2245, allocations: 0 / 455.6 MB, free: 13.31 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.005772/0.2303, allocations: 1.29 MB / 456.9 MB, free: 12.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.2303, allocations: 10.38 kB / 456.9 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002976/0.2333, allocations: 239.7 kB / 457.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.2337, allocations: 198.2 kB / 457.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.786e-05/0.2338, allocations: 74.5 kB / 457.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002456/0.234, allocations: 101.7 kB / 457.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002439/0.2365, allocations: 0.9375 MB / 458.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.358e-05/0.2365, allocations: 5.062 kB / 458.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.2367, allocations: 41.61 kB / 458.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/0.2367, allocations: 28.72 kB / 458.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.2387, allocations: 0.7139 MB / 459.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006052/0.2448, allocations: 2.714 MB / 462 MB, free: 9.762 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002527/0.2473, allocations: 0.767 MB / 462.7 MB, free: 9.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005953/0.2479, allocations: 264.5 kB / 463 MB, free: 9.285 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.248, allocations: 31.52 kB / 463 MB, free: 9.277 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.2481, allocations: 45.11 kB / 463.1 MB, free: 9.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 5.901e-06/0.2481, allocations: 2.625 kB / 463.1 MB, free: 9.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.004054/0.2521, allocations: 1.02 MB / 464.1 MB, free: 8.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.2522, allocations: 137.9 kB / 464.2 MB, free: 8.684 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000521/0.2527, allocations: 298.8 kB / 464.5 MB, free: 8.508 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.2527, allocations: 35.33 kB / 464.5 MB, free: 8.469 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/0.253, allocations: 412.4 kB / 464.9 MB, free: 8.141 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.2533, allocations: 237.2 kB / 465.2 MB, free: 7.957 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003333/0.2536, allocations: 147.8 kB / 465.3 MB, free: 7.875 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.2537, allocations: 352.9 kB / 465.7 MB, free: 7.543 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005288/0.2542, allocations: 200 kB / 465.9 MB, free: 7.473 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007188/0.255, allocations: 401.7 kB / 466.3 MB, free: 7.172 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.2562, allocations: 0.6282 MB / 466.9 MB, free: 6.723 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.809e-06/0.2562, allocations: 4.625 kB / 466.9 MB, free: 6.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00235/0.2585, allocations: 0.8782 MB / 467.8 MB, free: 6.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.2585, allocations: 12.55 kB / 467.8 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.2586, allocations: 6.062 kB / 467.8 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009718/0.2595, allocations: 228.2 kB / 468 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008004/0.2603, allocations: 136.2 kB / 468.1 MB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006339/0.2667, allocations: 6.16 MB / 474.3 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000829/0.2675, allocations: 79.81 kB / 474.4 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.644e-05/0.2676, allocations: 36.5 kB / 474.4 MB, free: 0.5625 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.0004437/0.268, allocations: 220.9 kB / 474.6 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.2682, allocations: 48.06 kB / 474.7 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.2701, allocations: 0.6803 MB / 475.4 MB, free: 16 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.2701, allocations: 10.56 kB / 475.4 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.2701, allocations: 5.438 kB / 475.4 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.2701, allocations: 5.328 kB / 475.4 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003674/0.2738, allocations: 1.344 MB / 476.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.2738, allocations: 0 / 476.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003902/0.2742, allocations: 72.72 kB / 476.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008135/0.275, allocations: 216.6 kB / 477 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.255e-05/0.2751, allocations: 12.84 kB / 477 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008777/0.2839, allocations: 6.157 MB / 483.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.2839, allocations: 1.531 kB / 483.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002615/0.2865, allocations: 1.191 MB / 484.4 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/0.2867, allocations: 43.75 kB / 484.4 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.77e-05/0.2868, allocations: 12.53 kB / 484.4 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005918/0.2873, allocations: 13.34 kB / 484.4 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/0.2875, allocations: 64.42 kB / 484.5 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.385e-05/0.2876, allocations: 19.98 kB / 484.5 MB, free: 8.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003543/0.2879, allocations: 196.5 kB / 484.7 MB, free: 8.617 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2879, allocations: 0 / 484.7 MB, free: 8.617 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001785/0.2897, allocations: 283.6 kB / 485 MB, free: 8.539 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.0003637/0.2901, allocations: 145.3 kB / 485.1 MB, free: 8.426 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002408/0.2925, allocations: 1.058 MB / 486.2 MB, free: 7.688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2925, allocations: 0 / 486.2 MB, free: 7.688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001389/0.2939, allocations: 0.7405 MB / 486.9 MB, free: 7.062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.295, allocations: 49.45 kB / 487 MB, free: 7.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.2979, allocations: 1.177 MB / 488.2 MB, free: 6.258 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.2984, allocations: 311.1 kB / 488.5 MB, free: 6.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003675/0.2988, allocations: 70.02 kB / 488.5 MB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.2989, allocations: 39.45 kB / 488.6 MB, free: 6.016 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2989, allocations: 96 / 488.6 MB, free: 6.016 MB / 382.1 MB Notification: Performance of Templates: time 0.01915/0.318, allocations: 6.762 MB / 495.3 MB, free: 140 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.523739323019981]