Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001366/0.001366, 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.001395/0.001395, allocations: 194 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.494/1.494, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 47.92 kB / 370.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2424, allocations: 52.18 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004082/0.2465, allocations: 2.636 MB / 425.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.2478, allocations: 0.701 MB / 426.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.248, allocations: 11.94 kB / 426.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.2482, allocations: 59.44 kB / 426.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.2484, allocations: 95.25 kB / 426.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.2487, allocations: 107.8 kB / 426.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000403/0.2491, allocations: 390.5 kB / 427.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.2493, allocations: 93.88 kB / 427.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.2495, allocations: 151.4 kB / 427.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.2498, allocations: 159.2 kB / 427.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.392e-05/0.2498, allocations: 32 kB / 427.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.103e-05/0.2499, allocations: 32 kB / 427.5 MB, free: 9.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.577e-05/0.2499, allocations: 71.77 kB / 427.6 MB, free: 9.922 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.2501, allocations: 147.3 kB / 427.7 MB, free: 9.777 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004276/0.2505, allocations: 394.1 kB / 428.1 MB, free: 9.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2505, allocations: 0 / 428.1 MB, free: 9.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2505, allocations: 3.938 kB / 428.1 MB, free: 9.391 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.2505, allocations: 0 / 428.1 MB, free: 9.391 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001181/0.2517, allocations: 0.5831 MB / 428.7 MB, free: 8.777 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2517, allocations: 8.031 kB / 428.7 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.806e-05/0.2518, allocations: 40.7 kB / 428.7 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/0.2523, allocations: 213.9 kB / 429 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/0.2523, allocations: 21.03 kB / 429 MB, free: 8.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.368e-05/0.2523, allocations: 32.38 kB / 429 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005992/0.2529, allocations: 290.3 kB / 429.3 MB, free: 8.156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.253, allocations: 4 kB / 429.3 MB, free: 8.152 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.253, allocations: 16 kB / 429.3 MB, free: 8.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.253, allocations: 11.94 kB / 429.3 MB, free: 8.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006193/0.2536, allocations: 246.5 kB / 429.6 MB, free: 7.887 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.2553, allocations: 0.8703 MB / 430.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003916/0.2557, allocations: 154.2 kB / 430.6 MB, free: 6.793 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.2559, allocations: 63.64 kB / 430.6 MB, free: 6.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.2559, allocations: 7.844 kB / 430.7 MB, free: 6.723 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.256, allocations: 38.55 kB / 430.7 MB, free: 6.676 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/0.256, allocations: 4 kB / 430.7 MB, free: 6.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.002089/0.2581, allocations: 0.5878 MB / 431.3 MB, free: 6.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.2581, allocations: 55.41 kB / 431.3 MB, free: 6.004 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/0.2584, allocations: 257.8 kB / 431.6 MB, free: 5.742 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.2584, allocations: 33.7 kB / 431.6 MB, free: 5.703 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.2586, allocations: 232 kB / 431.8 MB, free: 5.469 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.219e-05/0.2587, allocations: 83.33 kB / 431.9 MB, free: 5.387 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.2588, allocations: 65.66 kB / 432 MB, free: 5.316 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.259, allocations: 334.8 kB / 432.3 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/0.2593, allocations: 91.94 kB / 432.4 MB, free: 4.891 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003975/0.2597, allocations: 200.1 kB / 432.6 MB, free: 4.648 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006512/0.2604, allocations: 306.2 kB / 432.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2604, allocations: 0 / 432.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008741/0.2613, allocations: 385.1 kB / 433.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.2613, allocations: 11.98 kB / 433.3 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2613, allocations: 4 kB / 433.3 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002559/0.2615, allocations: 58.09 kB / 433.4 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.2619, allocations: 75.83 kB / 433.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.264, allocations: 2.585 MB / 436 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.2643, allocations: 19.98 kB / 436 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.2643, allocations: 16 kB / 436 MB, free: 0.9453 MB / 334.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 (37): * Single equations (assignments): 35 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000168/0.2645, allocations: 153.7 kB / 436.2 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.2645, allocations: 23.8 kB / 436.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.387e-05/0.2646, allocations: 30.28 kB / 436.2 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.2646, allocations: 4.062 kB / 436.3 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2646, allocations: 4 kB / 436.3 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.2646, allocations: 3.984 kB / 436.3 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.2649, allocations: 221.2 kB / 436.5 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.2649, allocations: 3.938 kB / 436.5 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.2651, allocations: 35.97 kB / 436.5 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001521/0.2653, allocations: 61.61 kB / 436.6 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.2653, allocations: 4 kB / 436.6 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.2673, allocations: 2.592 MB / 439.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2673, allocations: 0 / 439.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000777/0.2681, allocations: 377.7 kB / 439.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.2682, allocations: 27.78 kB / 439.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.2682, allocations: 4 kB / 439.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.2684, allocations: 11.98 kB / 439.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/0.2685, allocations: 27.89 kB / 439.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.2685, allocations: 11.94 kB / 439.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001859/0.2687, allocations: 181.2 kB / 439.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2687, allocations: 0 / 439.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003917/0.2691, allocations: 68 kB / 439.9 MB, free: 12.85 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 16 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001197/0.2692, allocations: 103.2 kB / 440 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009479/0.2701, allocations: 479.2 kB / 440.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2701, allocations: 0 / 440.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005187/0.2706, allocations: 338 kB / 440.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.271, allocations: 31.72 kB / 440.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.272, allocations: 0.5422 MB / 441.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/0.2722, allocations: 164.8 kB / 441.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000123/0.2723, allocations: 26.28 kB / 441.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.444e-05/0.2724, allocations: 19.44 kB / 441.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2724, allocations: 0 / 441.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Templates: time 0.007292/0.2797, allocations: 3.078 MB / 444.6 MB, free: 8.023 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.58342532068491]