Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.001552/0.001552, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001769/0.001769, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.406/1.406, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 51.92 kB / 379 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.219, allocations: 53.36 MB / 432.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.00521/0.2242, allocations: 3.556 MB / 436 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.226, allocations: 0.9775 MB / 436.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002015/0.2262, allocations: 11.94 kB / 436.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.2265, allocations: 95.09 kB / 437 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003839/0.2269, allocations: 170.4 kB / 437.2 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003835/0.2273, allocations: 167.8 kB / 437.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006694/0.228, allocations: 0.6387 MB / 438 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002714/0.2282, allocations: 138 kB / 438.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003079/0.2285, allocations: 251 kB / 438.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003443/0.2289, allocations: 274.7 kB / 438.7 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.945e-05/0.229, allocations: 56 kB / 438.7 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.799e-05/0.229, allocations: 52 kB / 438.8 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.2291, allocations: 119.5 kB / 438.9 MB, free: 452 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002648/0.2294, allocations: 290.5 kB / 439.2 MB, free: 160 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006992/0.2301, allocations: 0.6326 MB / 439.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2301, allocations: 0 / 439.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2301, allocations: 0 / 439.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.2301, allocations: 0 / 439.8 MB, free: 15.52 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.00152/0.2316, allocations: 0.7972 MB / 440.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2317, allocations: 16.03 kB / 440.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.2318, allocations: 64.52 kB / 440.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005367/0.2323, allocations: 302 kB / 441 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.48e-05/0.2324, allocations: 37.69 kB / 441 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.487e-05/0.2324, allocations: 52.33 kB / 441.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000837/0.2333, allocations: 442.4 kB / 441.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.2333, allocations: 4 kB / 441.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.2333, allocations: 20 kB / 441.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.2333, allocations: 12 kB / 441.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008521/0.2342, allocations: 389 kB / 441.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002514/0.2367, allocations: 1.505 MB / 443.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006838/0.2374, allocations: 312.3 kB / 443.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003947/0.2378, allocations: 160.5 kB / 443.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.2378, allocations: 4.328 kB / 443.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.2379, allocations: 42.89 kB / 443.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.723e-06/0.2379, allocations: 4 kB / 443.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003953/0.2418, allocations: 1.203 MB / 445.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.2419, allocations: 60 kB / 445.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006863/0.2426, allocations: 417.5 kB / 445.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.2426, allocations: 33.7 kB / 445.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002995/0.2429, allocations: 308.7 kB / 445.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.2431, allocations: 202.3 kB / 446.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.2434, allocations: 114.2 kB / 446.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.2436, allocations: 354.8 kB / 446.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007005/0.2443, allocations: 181.2 kB / 446.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007608/0.245, allocations: 299 kB / 447 MB, free: 7.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009742/0.246, allocations: 500 kB / 447.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.246, allocations: 0 / 447.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001484/0.2475, allocations: 0.7406 MB / 448.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.2475, allocations: 4 kB / 448.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.2475, allocations: 4 kB / 448.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005341/0.2481, allocations: 181.6 kB / 448.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004873/0.2486, allocations: 115.8 kB / 448.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004462/0.253, allocations: 4.067 MB / 452.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/0.2534, allocations: 31.94 kB / 452.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.728e-05/0.2535, allocations: 24 kB / 452.7 MB, free: 2.051 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.0002284/0.2537, allocations: 177.7 kB / 452.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.818e-05/0.2538, allocations: 51.67 kB / 452.9 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.2539, allocations: 73.08 kB / 453 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.2539, allocations: 4 kB / 453 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.2539, allocations: 4 kB / 453 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.2539, allocations: 7.922 kB / 453 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/0.2563, allocations: 1.26 MB / 454.3 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.2563, allocations: 3.984 kB / 454.3 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003082/0.2566, allocations: 64.09 kB / 454.3 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004384/0.257, allocations: 165.7 kB / 454.5 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.257, allocations: 11.94 kB / 454.5 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003978/0.261, allocations: 3.899 MB / 458.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.261, allocations: 0 / 458.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.2623, allocations: 0.6962 MB / 459.1 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-05/0.2624, allocations: 47.59 kB / 459.1 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/0.2625, allocations: 12 kB / 459.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/0.2628, allocations: 27.98 kB / 459.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.944e-05/0.2629, allocations: 52.28 kB / 459.2 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.2629, allocations: 8 kB / 459.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003379/0.2632, allocations: 295.1 kB / 459.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2632, allocations: 0 / 459.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006979/0.2639, allocations: 148 kB / 459.7 MB, free: 10.73 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.0001382/0.2641, allocations: 111.2 kB / 459.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.2656, allocations: 0.7618 MB / 460.5 MB, free: 9.816 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2656, allocations: 4.25 kB / 460.5 MB, free: 9.812 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008239/0.2664, allocations: 0.5074 MB / 461.1 MB, free: 9.277 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.2668, allocations: 49.25 kB / 461.1 MB, free: 9.234 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.2687, allocations: 1.002 MB / 462.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/0.2692, allocations: 0.8592 MB / 463 MB, free: 7.301 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.2693, allocations: 39.42 kB / 463 MB, free: 7.262 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2693, allocations: 0 / 463 MB, free: 7.262 MB / 366.1 MB Notification: Performance of Templates: time 0.01297/0.2823, allocations: 9.883 MB / 472.9 MB, free: 13.37 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.21117281797342]