Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001238/0.001238, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001202/0.001202, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 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.002/1.002, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] 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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 274.2 MB, free: 4.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.426e-05/1.62e-05, allocations: 2.312 kB / 274.2 MB, free: 4.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004106/0.004122, allocations: 2.792 MB / 277 MB, free: 1.648 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.005738, allocations: 0.7715 MB / 277.8 MB, free: 0.875 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.005933, allocations: 4 kB / 277.8 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.006172, allocations: 67.97 kB / 277.8 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002839/0.006456, allocations: 105 kB / 277.9 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.006727, allocations: 115.7 kB / 278 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004257/0.007153, allocations: 402.3 kB / 278.4 MB, free: 200 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.007363, allocations: 87.34 kB / 278.5 MB, free: 112 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000388/0.007751, allocations: 235.5 kB / 278.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.007895, allocations: 123.6 kB / 278.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.007934, allocations: 35.94 kB / 278.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.52e-05/0.007969, allocations: 32 kB / 278.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.251e-05/0.008021, allocations: 87.66 kB / 279 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.739e-05/0.008109, allocations: 123.7 kB / 279.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.008357, allocations: 255 kB / 279.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.008359, allocations: 0 / 279.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.00836, allocations: 0 / 279.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.008364, allocations: 0 / 279.4 MB, free: 15.23 MB / 266.7 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.0007682/0.009132, allocations: 0.6673 MB / 280.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.009168, allocations: 12.03 kB / 280.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.979e-05/0.009238, allocations: 64.7 kB / 280.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.009487, allocations: 213 kB / 280.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.192e-05/0.009518, allocations: 25.03 kB / 280.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/0.009557, allocations: 36.33 kB / 280.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.009829, allocations: 207.3 kB / 280.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.009841, allocations: 4.125 kB / 280.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.009864, allocations: 20.38 kB / 280.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.009873, allocations: 11.94 kB / 280.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.009997, allocations: 92.5 kB / 280.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.01103, allocations: 0.9173 MB / 281.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.01117, allocations: 91.11 kB / 281.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.729e-05/0.01121, allocations: 35.59 kB / 281.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.01122, allocations: 7.938 kB / 281.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.01124, allocations: 41.39 kB / 281.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.01125, allocations: 0 / 281.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006989/0.01194, allocations: 366.2 kB / 282.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.01197, allocations: 51.41 kB / 282.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.01214, allocations: 320 kB / 282.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.01216, allocations: 25.7 kB / 282.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/0.01242, allocations: 278.8 kB / 282.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.01246, allocations: 83.31 kB / 282.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-05/0.01253, allocations: 67.28 kB / 283 MB, free: 11.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.01265, allocations: 0.5156 MB / 283.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.982e-05/0.0127, allocations: 31.97 kB / 283.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.01281, allocations: 171.7 kB / 283.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.01298, allocations: 234.1 kB / 283.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.01298, allocations: 0 / 283.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002961/0.01328, allocations: 274.8 kB / 284.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.01329, allocations: 12.39 kB / 284.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.0133, allocations: 4 kB / 284.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002435/0.01354, allocations: 75.3 kB / 284.3 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.01369, allocations: 67.84 kB / 284.3 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.01548, allocations: 3.494 MB / 287.8 MB, free: 6.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.01559, allocations: 15.98 kB / 287.9 MB, free: 6.148 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.0156, allocations: 12 kB / 287.9 MB, free: 6.137 MB / 266.7 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.0001043/0.0157, allocations: 180.5 kB / 288 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.01574, allocations: 35.81 kB / 288.1 MB, free: 5.914 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.01578, allocations: 30.27 kB / 288.1 MB, free: 5.883 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01578, allocations: 4 kB / 288.1 MB, free: 5.879 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.01578, allocations: 3.938 kB / 288.1 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.01579, allocations: 3.984 kB / 288.1 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.01595, allocations: 185.1 kB / 288.3 MB, free: 5.664 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01595, allocations: 0 / 288.3 MB, free: 5.664 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.437e-05/0.01604, allocations: 39.92 kB / 288.3 MB, free: 5.625 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000179/0.01622, allocations: 75.23 kB / 288.4 MB, free: 5.543 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.01622, allocations: 4 kB / 288.4 MB, free: 5.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.0175, allocations: 3.478 MB / 291.9 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.0175, allocations: 0 / 291.9 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.01775, allocations: 329 kB / 292.2 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.01777, allocations: 27.8 kB / 292.2 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.01779, allocations: 4 kB / 292.3 MB, free: 1.449 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.316e-05/0.01787, allocations: 20.12 kB / 292.3 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.01792, allocations: 19.95 kB / 292.3 MB, free: 1.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.01793, allocations: 8 kB / 292.3 MB, free: 1.402 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.32e-05/0.01802, allocations: 201.1 kB / 292.5 MB, free: 1.207 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01802, allocations: 0 / 292.5 MB, free: 1.207 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002386/0.01826, allocations: 72 kB / 292.6 MB, free: 1.137 MB / 266.7 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 7.947e-05/0.01834, allocations: 103.2 kB / 292.7 MB, free: 1.027 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003622/0.0187, allocations: 486.2 kB / 293.1 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.0187, allocations: 0 / 293.1 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005117/0.01922, allocations: 414.4 kB / 293.5 MB, free: 76 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.01944, allocations: 37.28 kB / 293.6 MB, free: 40 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007708/0.02021, allocations: 0.5104 MB / 294.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.786e-05/0.02027, allocations: 88.31 kB / 294.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.814e-05/0.02035, allocations: 30.27 kB / 294.2 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.317e-05/0.02044, allocations: 106.2 kB / 294.3 MB, free: 15.26 MB / 282.7 MB Notification: Performance of SimCode: time 8.51e-07/0.02044, allocations: 0 / 294.3 MB, free: 15.26 MB / 282.7 MB Notification: Performance of Templates: time 0.005166/0.02561, allocations: 3.076 MB / 297.4 MB, free: 12.23 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.824135235976428]