Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.001356/0.001356, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002447/0.002447, allocations: 206 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.518/1.518, allocations: 230.5 MB / 257.4 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.89 kB / 378.2 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2368, allocations: 53.41 MB / 431.6 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004903/0.2417, allocations: 3.232 MB / 434.9 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.2434, allocations: 0.9231 MB / 435.8 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.2436, allocations: 11.94 kB / 435.8 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.2439, allocations: 103 kB / 435.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003849/0.2442, allocations: 157.3 kB / 436.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.2446, allocations: 183.6 kB / 436.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000659/0.2453, allocations: 0.6348 MB / 436.9 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002547/0.2455, allocations: 122 kB / 437 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002996/0.2458, allocations: 255 kB / 437.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003121/0.2461, allocations: 234.7 kB / 437.5 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.612e-05/0.2462, allocations: 55.94 kB / 437.5 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.235e-05/0.2463, allocations: 56 kB / 437.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.2464, allocations: 127.5 kB / 437.7 MB, free: 412 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000221/0.2467, allocations: 226.9 kB / 437.9 MB, free: 184 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006988/0.2474, allocations: 0.6415 MB / 438.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.2474, allocations: 0 / 438.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2474, allocations: 4 kB / 438.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.2474, allocations: 3.938 kB / 438.6 MB, free: 15.53 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001575/0.249, allocations: 0.7933 MB / 439.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.249, allocations: 15.92 kB / 439.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.2491, allocations: 68.52 kB / 439.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005271/0.2496, allocations: 298.1 kB / 439.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.274e-05/0.2497, allocations: 41.69 kB / 439.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.387e-05/0.2498, allocations: 48.38 kB / 439.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008534/0.2506, allocations: 438.4 kB / 440.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.2506, allocations: 0 / 440.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.464e-05/0.2507, allocations: 20 kB / 440.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.2507, allocations: 16 kB / 440.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009133/0.2516, allocations: 393 kB / 440.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002424/0.254, allocations: 1.262 MB / 441.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007269/0.2548, allocations: 307.6 kB / 442.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004157/0.2552, allocations: 161.4 kB / 442.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.2552, allocations: 4.328 kB / 442.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.2552, allocations: 46.81 kB / 442.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 2.525e-06/0.2553, allocations: 0 / 442.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003381/0.2586, allocations: 1.188 MB / 443.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.2587, allocations: 55.91 kB / 443.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004706/0.2592, allocations: 405.5 kB / 444.1 MB, free: 9.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.2592, allocations: 37.7 kB / 444.1 MB, free: 9.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.2594, allocations: 320.6 kB / 444.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.2596, allocations: 202.3 kB / 444.6 MB, free: 9.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.2598, allocations: 114.3 kB / 444.7 MB, free: 9.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.2599, allocations: 354.8 kB / 445.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004447/0.2604, allocations: 177.2 kB / 445.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005447/0.2609, allocations: 299.2 kB / 445.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009754/0.2619, allocations: 500 kB / 446 MB, free: 7.766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2619, allocations: 0 / 446 MB, free: 7.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00152/0.2634, allocations: 0.7285 MB / 446.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.2635, allocations: 12.25 kB / 446.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.2635, allocations: 8 kB / 446.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005245/0.264, allocations: 177.5 kB / 447 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004965/0.2645, allocations: 115.8 kB / 447.1 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00437/0.2689, allocations: 3.985 MB / 451.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004125/0.2693, allocations: 32 kB / 451.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.46e-05/0.2693, allocations: 32 kB / 451.1 MB, free: 2.465 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002347/0.2696, allocations: 181.7 kB / 451.3 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.959e-05/0.2696, allocations: 43.72 kB / 451.4 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.2698, allocations: 61.03 kB / 451.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2698, allocations: 4 kB / 451.4 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/0.2698, allocations: 4 kB / 451.4 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.2698, allocations: 7.922 kB / 451.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/0.2721, allocations: 1.143 MB / 452.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2721, allocations: 0 / 452.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/0.2724, allocations: 63.89 kB / 452.6 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000423/0.2728, allocations: 165.7 kB / 452.8 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.2729, allocations: 12 kB / 452.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003898/0.2768, allocations: 3.81 MB / 456.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2768, allocations: 384 / 456.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.278, allocations: 0.6924 MB / 457.3 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.291e-05/0.2781, allocations: 51.64 kB / 457.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.469e-05/0.2782, allocations: 12 kB / 457.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/0.2785, allocations: 27.92 kB / 457.4 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.2786, allocations: 52.28 kB / 457.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.2786, allocations: 12 kB / 457.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003142/0.2789, allocations: 279.2 kB / 457.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2789, allocations: 3.938 kB / 457.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007194/0.2796, allocations: 152 kB / 457.9 MB, free: 11.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001323/0.2798, allocations: 114.7 kB / 458 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.2813, allocations: 0.7613 MB / 458.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2813, allocations: 0 / 458.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00084/0.2821, allocations: 0.5123 MB / 459.3 MB, free: 9.957 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.2826, allocations: 41.44 kB / 459.3 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.2843, allocations: 0.971 MB / 460.3 MB, free: 8.906 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.2846, allocations: 263 kB / 460.5 MB, free: 8.621 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001747/0.2848, allocations: 44.25 kB / 460.6 MB, free: 8.574 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.296e-05/0.2849, allocations: 31.44 kB / 460.6 MB, free: 8.543 MB / 366.1 MB Notification: Performance of SimCode: time 5.62e-07/0.2849, allocations: 0 / 460.6 MB, free: 8.543 MB / 366.1 MB Notification: Performance of Templates: time 0.01182/0.2967, allocations: 5.701 MB / 466.3 MB, free: 2.867 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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: 4.714142419397831]