Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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.0008567/0.0008567, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003903/0.003903, allocations: 154.8 kB / 24.69 MB, free: 9.43 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 0.8599/0.8599, allocations: 177.2 MB / 205 MB, free: 5.723 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.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.794e-05, allocations: 6.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.003619/0.003637, allocations: 4.569 MB / 330.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.005635, allocations: 2.027 MB / 332.4 MB, free: 8.801 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.005807, allocations: 16 kB / 332.5 MB, free: 8.785 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.007351, allocations: 1.371 MB / 333.8 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000626/0.007977, allocations: 429.1 kB / 334.3 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.00902, allocations: 1.14 MB / 335.4 MB, free: 5.848 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004989/0.009519, allocations: 0.7621 MB / 336.2 MB, free: 5.082 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006002/0.01012, allocations: 0.5675 MB / 336.7 MB, free: 4.508 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003851/0.0105, allocations: 482.9 kB / 337.2 MB, free: 4.035 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.01078, allocations: 327.1 kB / 337.5 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.986e-05/0.01084, allocations: 64 kB / 337.6 MB, free: 3.652 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004435/0.01128, allocations: 403.2 kB / 338 MB, free: 3.258 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.572e-05/0.01136, allocations: 171.3 kB / 338.1 MB, free: 3.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.0115, allocations: 251.4 kB / 338.4 MB, free: 2.844 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008577/0.01235, allocations: 1.254 MB / 339.6 MB, free: 1.586 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.01236, allocations: 0 / 339.6 MB, free: 1.586 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01236, allocations: 0 / 339.6 MB, free: 1.586 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.01237, allocations: 0 / 339.6 MB, free: 1.586 MB / 298.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.00231/0.01468, allocations: 1.394 MB / 341 MB, free: 160 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.01471, allocations: 12.03 kB / 341 MB, free: 148 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.01589, allocations: 372.1 kB / 341.4 MB, free: 15.78 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.01603, allocations: 197.5 kB / 341.6 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/0.01607, allocations: 62.38 kB / 341.7 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.979e-05/0.01616, allocations: 84.38 kB / 341.7 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000953/0.01711, allocations: 0.8897 MB / 342.6 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.01714, allocations: 12.12 kB / 342.6 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.783e-05/0.01718, allocations: 32.38 kB / 342.7 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.0172, allocations: 23.94 kB / 342.7 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009961/0.01819, allocations: 0.7808 MB / 343.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00242/0.02061, allocations: 2.312 MB / 345.8 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006208/0.02124, allocations: 0.5065 MB / 346.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/0.02151, allocations: 222.2 kB / 346.5 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.01e-05/0.02157, allocations: 32.41 kB / 346.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.0216, allocations: 43 kB / 346.6 MB, free: 10.42 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 1.804e-06/0.0216, allocations: 0 / 346.6 MB, free: 10.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.003841/0.02544, allocations: 2.152 MB / 348.7 MB, free: 8.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.02548, allocations: 89.61 kB / 348.8 MB, free: 8.125 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.02568, allocations: 311.8 kB / 349.1 MB, free: 7.809 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.02571, allocations: 37.7 kB / 349.2 MB, free: 7.766 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.02585, allocations: 367.9 kB / 349.5 MB, free: 7.398 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.914e-05/0.02595, allocations: 222.1 kB / 349.7 MB, free: 7.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.02608, allocations: 146.5 kB / 349.9 MB, free: 7.027 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.966e-05/0.02617, allocations: 346.8 kB / 350.2 MB, free: 6.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.02655, allocations: 269.8 kB / 350.5 MB, free: 6.418 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004887/0.02704, allocations: 0.5255 MB / 351 MB, free: 5.781 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008786/0.02792, allocations: 0.8049 MB / 351.8 MB, free: 4.879 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.02792, allocations: 4 kB / 351.8 MB, free: 4.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001088/0.02901, allocations: 0.8933 MB / 352.7 MB, free: 3.969 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.02903, allocations: 8 kB / 352.7 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.02904, allocations: 8 kB / 352.7 MB, free: 3.953 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001496/0.02919, allocations: 73.61 kB / 352.8 MB, free: 3.875 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003941/0.02958, allocations: 195.7 kB / 353 MB, free: 3.684 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/0.03097, allocations: 2.611 MB / 355.6 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.03124, allocations: 60.08 kB / 355.7 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/0.03128, allocations: 39.98 kB / 355.7 MB, free: 0.7695 MB / 314.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.0001896/0.03147, allocations: 217.5 kB / 355.9 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.03152, allocations: 43.91 kB / 356 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.03253, allocations: 0.7256 MB / 356.7 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.03253, allocations: 12 kB / 356.7 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.03254, allocations: 0 / 356.7 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.03254, allocations: 0 / 356.7 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.03393, allocations: 1.212 MB / 357.9 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.03393, allocations: 0 / 357.9 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002896/0.03422, allocations: 127.8 kB / 358 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-05/0.03431, allocations: 69.59 kB / 358.1 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.03434, allocations: 15.94 kB / 358.1 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.03538, allocations: 2.592 MB / 360.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.03538, allocations: 3.938 kB / 360.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.03695, allocations: 1.066 MB / 361.8 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.03711, allocations: 87.67 kB / 361.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.03715, allocations: 8 kB / 361.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.03735, allocations: 47.94 kB / 361.9 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-05/0.03743, allocations: 52.34 kB / 362 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.03745, allocations: 20 kB / 362 MB, free: 10.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001267/0.03758, allocations: 203 kB / 362.2 MB, free: 9.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03758, allocations: 0 / 362.2 MB, free: 9.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004311/0.03801, allocations: 184 kB / 362.4 MB, free: 9.801 MB / 330.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.0002059/0.03821, allocations: 151.2 kB / 362.5 MB, free: 9.645 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.03926, allocations: 0.8642 MB / 363.4 MB, free: 8.754 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.03926, allocations: 3.938 kB / 363.4 MB, free: 8.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004948/0.03976, allocations: 0.5283 MB / 363.9 MB, free: 8.199 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.04003, allocations: 43.92 kB / 364 MB, free: 8.156 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.04147, allocations: 1.175 MB / 365.1 MB, free: 6.945 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.04163, allocations: 286.6 kB / 365.4 MB, free: 6.641 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.04178, allocations: 68.45 kB / 365.5 MB, free: 6.574 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.04178, allocations: 0 / 365.5 MB, free: 6.574 MB / 330.7 MB Notification: Performance of Templates: time 0.009755/0.05154, allocations: 13.73 MB / 379.2 MB, free: 8.855 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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.826623362489045]