Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.001057/0.001057, allocations: 80.72 kB / 22.21 MB, free: 2.293 MB / 18.57 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.001202/0.001202, allocations: 142.4 kB / 25.59 MB, free: 8.906 MB / 18.57 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 0.9333/0.9333, allocations: 173.4 MB / 202.2 MB, free: 8.316 MB / 186.7 MB " [Timeout remaining time 179] 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.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 269.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.477e-05, allocations: 4.312 kB / 269.2 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006565/0.006589, allocations: 4.853 MB / 274.1 MB, free: 4.906 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003704/0.01029, allocations: 2.015 MB / 276.1 MB, free: 2.891 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003464/0.01064, allocations: 17.12 kB / 276.1 MB, free: 2.875 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003354/0.01399, allocations: 1.439 MB / 277.5 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009952/0.01499, allocations: 0.5629 MB / 278.1 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.01663, allocations: 0.9903 MB / 279.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001092/0.01772, allocations: 0.7741 MB / 279.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009961/0.01872, allocations: 0.5792 MB / 280.4 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007513/0.01947, allocations: 483 kB / 280.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005198/0.01999, allocations: 335.1 kB / 281.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.02012, allocations: 68 kB / 281.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009387/0.02105, allocations: 379.3 kB / 281.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.02119, allocations: 171.3 kB / 281.8 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002875/0.02148, allocations: 255.3 kB / 282.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.02291, allocations: 0.872 MB / 283 MB, free: 11.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.02291, allocations: 0 / 283 MB, free: 11.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.02292, allocations: 4 kB / 283 MB, free: 11.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.826e-05/0.02293, allocations: 0 / 283 MB, free: 11.97 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003914/0.02685, allocations: 1.502 MB / 284.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.02689, allocations: 12.03 kB / 284.5 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002408/0.0293, allocations: 0.5116 MB / 285 MB, free: 9.906 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.0296, allocations: 200.3 kB / 285.2 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.073e-05/0.02968, allocations: 66.38 kB / 285.3 MB, free: 9.617 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.02984, allocations: 84.33 kB / 285.3 MB, free: 9.535 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.03101, allocations: 0.6497 MB / 286 MB, free: 8.859 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/0.03104, allocations: 4.172 kB / 286 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-05/0.03112, allocations: 40.31 kB / 286 MB, free: 8.816 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.03114, allocations: 23.94 kB / 286 MB, free: 8.793 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007219/0.03186, allocations: 353.6 kB / 286.4 MB, free: 8.449 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003244/0.03511, allocations: 2.314 MB / 288.7 MB, free: 6.016 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004653/0.03557, allocations: 383.2 kB / 289.1 MB, free: 5.633 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.03569, allocations: 113.1 kB / 289.2 MB, free: 5.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.949e-05/0.03575, allocations: 24.48 kB / 289.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.03578, allocations: 41.89 kB / 289.3 MB, free: 5.445 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.494e-06/0.03578, allocations: 0 / 289.3 MB, free: 5.445 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.002097/0.03788, allocations: 1.171 MB / 290.4 MB, free: 4.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.03792, allocations: 85.61 kB / 290.5 MB, free: 4.129 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.03814, allocations: 361.8 kB / 290.9 MB, free: 3.766 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.03817, allocations: 37.7 kB / 290.9 MB, free: 3.723 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.03835, allocations: 422.6 kB / 291.3 MB, free: 3.301 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.03848, allocations: 226.1 kB / 291.5 MB, free: 3.078 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.03863, allocations: 164.1 kB / 291.7 MB, free: 2.906 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.03878, allocations: 0.5273 MB / 292.2 MB, free: 2.367 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.03891, allocations: 97.84 kB / 292.3 MB, free: 2.273 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/0.03921, allocations: 466.4 kB / 292.8 MB, free: 1.664 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004539/0.03967, allocations: 0.5836 MB / 293.4 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.03967, allocations: 3.938 kB / 293.4 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0006402/0.04031, allocations: 0.5943 MB / 294 MB, free: 340 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.04033, allocations: 11.98 kB / 294 MB, free: 328 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.04034, allocations: 8 kB / 294 MB, free: 320 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002461/0.04058, allocations: 87.3 kB / 294.1 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.04098, allocations: 183.7 kB / 294.2 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/0.04244, allocations: 3.514 MB / 297.8 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.0427, allocations: 44.05 kB / 297.8 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.04274, allocations: 35.98 kB / 297.8 MB, free: 12.21 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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.0001495/0.04289, allocations: 204.3 kB / 298 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.041e-05/0.04297, allocations: 63.72 kB / 298.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005069/0.04347, allocations: 464.9 kB / 298.5 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.04348, allocations: 7.938 kB / 298.6 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.04348, allocations: 4 kB / 298.6 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.04349, allocations: 7.984 kB / 298.6 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008678/0.04435, allocations: 0.8859 MB / 299.5 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.04436, allocations: 0 / 299.5 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.04463, allocations: 119.9 kB / 299.6 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001944/0.04483, allocations: 79.28 kB / 299.6 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.04485, allocations: 19.98 kB / 299.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/0.04618, allocations: 3.486 MB / 303.2 MB, free: 6.586 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.04619, allocations: 0 / 303.2 MB, free: 6.586 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006356/0.04682, allocations: 0.6346 MB / 303.8 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.04694, allocations: 95.73 kB / 303.9 MB, free: 5.828 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.04698, allocations: 8 kB / 303.9 MB, free: 5.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.04718, allocations: 35.92 kB / 303.9 MB, free: 5.785 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.324e-05/0.04725, allocations: 48.34 kB / 304 MB, free: 5.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.04727, allocations: 15.98 kB / 304 MB, free: 5.723 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001021/0.04737, allocations: 218.9 kB / 304.2 MB, free: 5.508 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04738, allocations: 0 / 304.2 MB, free: 5.508 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004223/0.0478, allocations: 172 kB / 304.4 MB, free: 5.34 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (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,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.0001906/0.04799, allocations: 163.2 kB / 304.5 MB, free: 5.172 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000592/0.04858, allocations: 0.7117 MB / 305.2 MB, free: 4.434 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.04858, allocations: 0 / 305.2 MB, free: 4.434 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.04892, allocations: 0.5306 MB / 305.8 MB, free: 3.863 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.04919, allocations: 56.94 kB / 305.8 MB, free: 3.805 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.05066, allocations: 1.121 MB / 306.9 MB, free: 2.652 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.745e-05/0.05074, allocations: 140.7 kB / 307.1 MB, free: 2.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002444/0.05098, allocations: 100.5 kB / 307.2 MB, free: 2.398 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.05119, allocations: 154.2 kB / 307.3 MB, free: 2.246 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.05119, allocations: 0 / 307.3 MB, free: 2.246 MB / 282.7 MB Notification: Performance of Templates: time 0.00913/0.06032, allocations: 7.065 MB / 314.4 MB, free: 11.3 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/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.8625001017935574]