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.001247/0.001247, allocations: 113 kB / 19.04 MB, free: 3.254 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.00122/0.00122, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.374/1.374, allocations: 225.6 MB / 250.8 MB, free: 13.33 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.001544/0.001544, allocations: 47.92 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2499, allocations: 52.14 MB / 420.9 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.00482/0.2548, allocations: 3.55 MB / 424.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.2562, allocations: 0.9269 MB / 425.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.2564, allocations: 8 kB / 425.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002479/0.2566, allocations: 95.16 kB / 425.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003574/0.257, allocations: 162.7 kB / 425.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.2574, allocations: 171.7 kB / 425.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006176/0.258, allocations: 0.627 MB / 426.4 MB, free: 9.676 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.2582, allocations: 133.5 kB / 426.5 MB, free: 9.535 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003178/0.2585, allocations: 251 kB / 426.8 MB, free: 9.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003205/0.2589, allocations: 270.7 kB / 427 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.678e-05/0.2589, allocations: 56 kB / 427.1 MB, free: 8.969 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.913e-05/0.259, allocations: 52 kB / 427.1 MB, free: 8.918 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.2591, allocations: 115.5 kB / 427.2 MB, free: 8.805 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002587/0.2594, allocations: 290.5 kB / 427.5 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006464/0.26, allocations: 0.6316 MB / 428.2 MB, free: 7.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.26, allocations: 0 / 428.2 MB, free: 7.887 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.26, allocations: 0 / 428.2 MB, free: 7.887 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.2601, allocations: 0 / 428.2 MB, free: 7.887 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.001504/0.2616, allocations: 0.857 MB / 429 MB, free: 6.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.2616, allocations: 11.89 kB / 429 MB, free: 6.969 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.2617, allocations: 68.55 kB / 429.1 MB, free: 6.902 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005027/0.2622, allocations: 355.3 kB / 429.4 MB, free: 6.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.816e-05/0.2622, allocations: 41.67 kB / 429.5 MB, free: 6.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.583e-05/0.2623, allocations: 48.38 kB / 429.5 MB, free: 6.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008661/0.2632, allocations: 450.3 kB / 430 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.2632, allocations: 0 / 430 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.6e-05/0.2633, allocations: 20 kB / 430 MB, free: 5.969 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.2633, allocations: 12 kB / 430 MB, free: 5.957 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008768/0.2641, allocations: 393 kB / 430.4 MB, free: 5.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002566/0.2667, allocations: 1.574 MB / 432 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007362/0.2674, allocations: 394.7 kB / 432.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004087/0.2679, allocations: 169.4 kB / 432.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.2679, allocations: 4.328 kB / 432.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.2679, allocations: 34.89 kB / 432.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.613e-06/0.2679, allocations: 0 / 432.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.003221/0.2711, allocations: 1.193 MB / 433.7 MB, free: 2.051 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.2712, allocations: 59.97 kB / 433.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004474/0.2716, allocations: 397.6 kB / 434.2 MB, free: 1.582 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.2717, allocations: 33.7 kB / 434.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.2719, allocations: 300.7 kB / 434.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.272, allocations: 202.3 kB / 434.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.2722, allocations: 114.3 kB / 434.8 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.2724, allocations: 358.8 kB / 435.2 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004241/0.2728, allocations: 173.2 kB / 435.3 MB, free: 408 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005134/0.2733, allocations: 303 kB / 435.6 MB, free: 60 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009374/0.2743, allocations: 494.5 kB / 436.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2743, allocations: 0 / 436.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001435/0.2757, allocations: 0.7383 MB / 436.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.2757, allocations: 8 kB / 436.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.2757, allocations: 0 / 436.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005299/0.2763, allocations: 181.7 kB / 437 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/0.2767, allocations: 115.8 kB / 437.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004385/0.2811, allocations: 4.273 MB / 441.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/0.2815, allocations: 31.97 kB / 441.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/0.2815, allocations: 24.06 kB / 441.5 MB, free: 9.879 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.0002246/0.2818, allocations: 186.1 kB / 441.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.69e-05/0.2818, allocations: 51.67 kB / 441.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.282, allocations: 64.95 kB / 441.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.282, allocations: 8 kB / 441.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.282, allocations: 4 kB / 441.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.282, allocations: 7.969 kB / 441.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002261/0.2843, allocations: 1.284 MB / 443.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.2843, allocations: 4 kB / 443.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002996/0.2846, allocations: 72.02 kB / 443.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004142/0.285, allocations: 169.5 kB / 443.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.285, allocations: 12 kB / 443.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003901/0.2889, allocations: 4.099 MB / 447.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2889, allocations: 64 / 447.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.2902, allocations: 0.6977 MB / 448.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.2903, allocations: 124.7 kB / 448.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.096e-05/0.2903, allocations: 12 kB / 448.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.2906, allocations: 31.97 kB / 448.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.487e-05/0.2907, allocations: 44.31 kB / 448.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.2907, allocations: 16 kB / 448.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003027/0.291, allocations: 275.2 kB / 448.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.291, allocations: 0 / 448.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006596/0.2917, allocations: 152 kB / 448.8 MB, free: 2.172 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.0001385/0.2918, allocations: 111.2 kB / 448.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001465/0.2933, allocations: 0.7691 MB / 449.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2933, allocations: 0 / 449.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008076/0.2941, allocations: 0.5123 MB / 450.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.2945, allocations: 60.97 kB / 450.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.2962, allocations: 0.9613 MB / 451.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.2967, allocations: 0.8553 MB / 452 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001606/0.2968, allocations: 44.38 kB / 452.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.843e-05/0.2969, allocations: 31.44 kB / 452.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2969, allocations: 0 / 452.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of Templates: time 0.01081/0.3077, allocations: 5.424 MB / 457.5 MB, free: 9.277 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.539302677847445]