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.001517/0.001517, allocations: 108.8 kB / 21.19 MB, free: 0.7578 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.001796/0.001796, allocations: 193.1 kB / 24.47 MB, free: 4.152 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.428/1.428, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.001519/0.001519, allocations: 51.91 kB / 371.7 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2589, allocations: 52.17 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005341/0.2642, allocations: 3.543 MB / 427.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.2661, allocations: 0.9231 MB / 428.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001892/0.2663, allocations: 11.94 kB / 428.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.2666, allocations: 99.03 kB / 428.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000371/0.2669, allocations: 162.8 kB / 428.6 MB, free: 9.941 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.2673, allocations: 171.7 kB / 428.8 MB, free: 9.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006756/0.268, allocations: 0.6346 MB / 429.4 MB, free: 9.141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000281/0.2683, allocations: 141.9 kB / 429.6 MB, free: 8.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003692/0.2686, allocations: 251 kB / 429.8 MB, free: 8.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003516/0.269, allocations: 270.7 kB / 430.1 MB, free: 8.484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.822e-05/0.2691, allocations: 55.94 kB / 430.1 MB, free: 8.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.136e-05/0.2692, allocations: 52 kB / 430.2 MB, free: 8.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.2693, allocations: 123.5 kB / 430.3 MB, free: 8.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002814/0.2696, allocations: 286.5 kB / 430.6 MB, free: 7.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007429/0.2703, allocations: 0.6235 MB / 431.2 MB, free: 7.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2703, allocations: 0 / 431.2 MB, free: 7.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2703, allocations: 0 / 431.2 MB, free: 7.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.2703, allocations: 0 / 431.2 MB, free: 7.355 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.00156/0.2719, allocations: 0.7934 MB / 432 MB, free: 6.531 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2719, allocations: 15.97 kB / 432 MB, free: 6.516 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.272, allocations: 60.56 kB / 432.1 MB, free: 6.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005498/0.2726, allocations: 298.1 kB / 432.4 MB, free: 6.141 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.8e-05/0.2726, allocations: 37.69 kB / 432.4 MB, free: 6.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.289e-05/0.2727, allocations: 52.38 kB / 432.4 MB, free: 6.051 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008405/0.2735, allocations: 434.4 kB / 432.9 MB, free: 5.621 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.2736, allocations: 0 / 432.9 MB, free: 5.621 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.2736, allocations: 20 kB / 432.9 MB, free: 5.602 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.2736, allocations: 12 kB / 432.9 MB, free: 5.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008725/0.2745, allocations: 397 kB / 433.3 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002647/0.2771, allocations: 1.497 MB / 434.8 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007025/0.2778, allocations: 316.9 kB / 435.1 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004132/0.2783, allocations: 161.4 kB / 435.2 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/0.2783, allocations: 8.312 kB / 435.3 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.2783, allocations: 38.89 kB / 435.3 MB, free: 3.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 2.204e-06/0.2783, allocations: 0 / 435.3 MB, free: 3.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.003382/0.2817, allocations: 1.193 MB / 436.5 MB, free: 1.863 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.2818, allocations: 59.91 kB / 436.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004857/0.2822, allocations: 393.6 kB / 436.9 MB, free: 1.402 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.2823, allocations: 37.7 kB / 437 MB, free: 1.359 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/0.2825, allocations: 304.7 kB / 437.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.2827, allocations: 198.3 kB / 437.5 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.2828, allocations: 118.4 kB / 437.6 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.283, allocations: 358.7 kB / 437.9 MB, free: 388 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004353/0.2835, allocations: 177.2 kB / 438.1 MB, free: 208 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005584/0.284, allocations: 303.1 kB / 438.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009617/0.285, allocations: 492 kB / 438.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.285, allocations: 4 kB / 438.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001522/0.2865, allocations: 0.7367 MB / 439.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.2865, allocations: 11.42 kB / 439.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.2866, allocations: 4 kB / 439.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000572/0.2871, allocations: 185.5 kB / 439.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004893/0.2876, allocations: 111.9 kB / 439.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004704/0.2923, allocations: 4.063 MB / 444 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000491/0.2928, allocations: 31.97 kB / 444 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/0.2928, allocations: 24.06 kB / 444 MB, free: 9.938 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.0002739/0.2931, allocations: 184.6 kB / 444.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.313e-05/0.2932, allocations: 47.72 kB / 444.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.2933, allocations: 64.95 kB / 444.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/0.2933, allocations: 8 kB / 444.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/0.2934, allocations: 7.984 kB / 444.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.2934, allocations: 3.984 kB / 444.3 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002446/0.2958, allocations: 1.264 MB / 445.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.2958, allocations: 0 / 445.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003193/0.2961, allocations: 76.02 kB / 445.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004344/0.2966, allocations: 161.5 kB / 445.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.2966, allocations: 16 kB / 445.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004256/0.3009, allocations: 3.899 MB / 449.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3009, allocations: 4.062 kB / 449.8 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.3023, allocations: 0.6923 MB / 450.5 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.3024, allocations: 47.64 kB / 450.5 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.974e-05/0.3024, allocations: 8 kB / 450.5 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.3027, allocations: 31.97 kB / 450.5 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.3028, allocations: 52.28 kB / 450.6 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.3029, allocations: 12 kB / 450.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003676/0.3032, allocations: 275.2 kB / 450.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3032, allocations: 0 / 450.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007355/0.304, allocations: 152.1 kB / 451 MB, free: 2.613 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.0001615/0.3041, allocations: 122.6 kB / 451.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001606/0.3057, allocations: 0.7612 MB / 451.9 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3057, allocations: 0 / 451.9 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008601/0.3066, allocations: 0.5123 MB / 452.4 MB, free: 1.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.3071, allocations: 54.39 kB / 452.5 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.3091, allocations: 0.9832 MB / 453.4 MB, free: 88 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/0.3097, allocations: 0.8553 MB / 454.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.3098, allocations: 35.44 kB / 454.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3098, allocations: 4 kB / 454.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of Templates: time 0.01357/0.3234, allocations: 9.67 MB / 464 MB, free: 5.484 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/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: 7.686815671157092]