Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001994/0.001994, allocations: 192.2 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 51.91 kB / 370.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2592, allocations: 52.17 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004927/0.2641, allocations: 3.22 MB / 426.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.2657, allocations: 0.8763 MB / 427.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.2659, allocations: 12 kB / 427.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.2662, allocations: 99.08 kB / 427.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003748/0.2666, allocations: 154.8 kB / 427.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000384/0.2669, allocations: 179.7 kB / 427.6 MB, free: 9.926 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006402/0.2676, allocations: 0.627 MB / 428.2 MB, free: 9.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.2678, allocations: 136.5 kB / 428.4 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003419/0.2682, allocations: 251 kB / 428.6 MB, free: 8.914 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003044/0.2685, allocations: 230.7 kB / 428.8 MB, free: 8.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.057e-05/0.2686, allocations: 52 kB / 428.9 MB, free: 8.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.286e-05/0.2687, allocations: 52 kB / 428.9 MB, free: 8.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.2688, allocations: 135.5 kB / 429.1 MB, free: 8.453 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.269, allocations: 226.9 kB / 429.3 MB, free: 8.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006716/0.2697, allocations: 0.6376 MB / 429.9 MB, free: 7.594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2697, allocations: 0 / 429.9 MB, free: 7.594 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2697, allocations: 0 / 429.9 MB, free: 7.594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.2697, allocations: 0 / 429.9 MB, free: 7.594 MB / 334.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.001535/0.2712, allocations: 0.7933 MB / 430.7 MB, free: 6.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.2713, allocations: 8.031 kB / 430.7 MB, free: 6.762 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.2714, allocations: 60.56 kB / 430.8 MB, free: 6.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/0.2719, allocations: 290.2 kB / 431.1 MB, free: 6.395 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.057e-05/0.272, allocations: 49.69 kB / 431.1 MB, free: 6.344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.864e-05/0.2721, allocations: 52.33 kB / 431.2 MB, free: 6.293 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008615/0.2729, allocations: 434.4 kB / 431.6 MB, free: 5.863 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.273, allocations: 4 kB / 431.6 MB, free: 5.859 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.433e-05/0.273, allocations: 20 kB / 431.6 MB, free: 5.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.273, allocations: 15.98 kB / 431.6 MB, free: 5.824 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008658/0.2739, allocations: 389 kB / 432 MB, free: 5.445 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002416/0.2763, allocations: 1.247 MB / 433.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000733/0.277, allocations: 308.8 kB / 433.6 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004197/0.2774, allocations: 169.5 kB / 433.7 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.853e-05/0.2775, allocations: 4.328 kB / 433.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.2775, allocations: 34.89 kB / 433.8 MB, free: 3.598 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.583e-06/0.2775, allocations: 0 / 433.8 MB, free: 3.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.003421/0.2809, allocations: 1.185 MB / 434.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.281, allocations: 59.91 kB / 435 MB, free: 2.332 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004612/0.2814, allocations: 401.3 kB / 435.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.2815, allocations: 37.7 kB / 435.4 MB, free: 1.891 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.2817, allocations: 304.6 kB / 435.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.2819, allocations: 198.3 kB / 435.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.282, allocations: 118.3 kB / 436 MB, free: 1.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.2822, allocations: 350.8 kB / 436.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004464/0.2827, allocations: 177.2 kB / 436.6 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005459/0.2832, allocations: 303 kB / 436.9 MB, free: 416 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009752/0.2842, allocations: 500 kB / 437.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2842, allocations: 4 kB / 437.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001496/0.2857, allocations: 0.7327 MB / 438.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.2857, allocations: 11.94 kB / 438.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.2857, allocations: 3.984 kB / 438.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005399/0.2862, allocations: 185.7 kB / 438.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004917/0.2867, allocations: 111.9 kB / 438.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004386/0.2911, allocations: 3.96 MB / 442.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000397/0.2915, allocations: 35.92 kB / 442.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.2916, allocations: 20 kB / 442.4 MB, free: 10.6 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.0002339/0.2918, allocations: 196.6 kB / 442.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-05/0.2919, allocations: 47.72 kB / 442.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.292, allocations: 56.91 kB / 442.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.292, allocations: 4 kB / 442.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.292, allocations: 4 kB / 442.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.292, allocations: 11.92 kB / 442.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.2943, allocations: 1.139 MB / 443.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.2943, allocations: 8 kB / 443.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/0.2946, allocations: 67.89 kB / 443.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004377/0.2951, allocations: 157.7 kB / 444.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.2951, allocations: 8 kB / 444.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00403/0.2991, allocations: 3.83 MB / 447.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2991, allocations: 240 / 447.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.3004, allocations: 0.6922 MB / 448.6 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.373e-05/0.3005, allocations: 51.66 kB / 448.7 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.026e-05/0.3005, allocations: 12 kB / 448.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.3008, allocations: 23.97 kB / 448.7 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.3009, allocations: 52.22 kB / 448.7 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.301, allocations: 16 kB / 448.8 MB, free: 3.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000296/0.3013, allocations: 263.2 kB / 449 MB, free: 3.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3013, allocations: 0 / 449 MB, free: 3.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006994/0.302, allocations: 148 kB / 449.2 MB, free: 3.531 MB / 350.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.0001393/0.3021, allocations: 119.2 kB / 449.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.3037, allocations: 0.7612 MB / 450 MB, free: 2.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3037, allocations: 0 / 450 MB, free: 2.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000888/0.3046, allocations: 0.5123 MB / 450.6 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.305, allocations: 45.62 kB / 450.6 MB, free: 2.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.3068, allocations: 0.9547 MB / 451.6 MB, free: 1.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.3071, allocations: 259 kB / 451.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001678/0.3073, allocations: 44.25 kB / 451.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.351e-05/0.3073, allocations: 35.44 kB / 451.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3073, allocations: 0 / 451.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of Templates: time 0.01176/0.3191, allocations: 5.693 MB / 457.6 MB, free: 11.02 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.670112669467926]