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.001426/0.001426, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.001058/0.001058, allocations: 143.4 kB / 24.89 MB, free: 8.742 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.8893/0.8893, allocations: 173.4 MB / 201.5 MB, free: 8.266 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.212e-06/1.212e-06, allocations: 0 / 268.5 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.375e-05, allocations: 2.312 kB / 268.5 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006116/0.00614, allocations: 4.86 MB / 273.3 MB, free: 4.906 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003719/0.00986, allocations: 2.087 MB / 275.4 MB, free: 2.816 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003288/0.01019, allocations: 16.69 kB / 275.5 MB, free: 2.801 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.01193, allocations: 1.494 MB / 276.9 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009418/0.01287, allocations: 0.5745 MB / 277.5 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.01399, allocations: 1.017 MB / 278.5 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006576/0.01464, allocations: 0.7741 MB / 279.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006543/0.0153, allocations: 0.6123 MB / 279.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004276/0.01573, allocations: 486.9 kB / 280.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002954/0.01602, allocations: 343.1 kB / 280.7 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.267e-05/0.01608, allocations: 64 kB / 280.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005933/0.01668, allocations: 371.4 kB / 281.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.371e-05/0.01676, allocations: 175.3 kB / 281.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.01692, allocations: 247.4 kB / 281.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008493/0.01777, allocations: 0.8875 MB / 282.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.01778, allocations: 0 / 282.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.01778, allocations: 4 kB / 282.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.01779, allocations: 0 / 282.5 MB, free: 11.76 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.002312/0.0201, allocations: 1.428 MB / 283.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.02013, allocations: 12.03 kB / 283.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.02144, allocations: 0.5314 MB / 284.4 MB, free: 9.758 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.02158, allocations: 201.5 kB / 284.6 MB, free: 9.531 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.603e-05/0.02163, allocations: 62.38 kB / 284.7 MB, free: 9.473 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-05/0.02172, allocations: 92.3 kB / 284.8 MB, free: 9.383 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006191/0.02234, allocations: 0.6402 MB / 285.4 MB, free: 8.719 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.02236, allocations: 4.188 kB / 285.4 MB, free: 8.715 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/0.0224, allocations: 32.38 kB / 285.5 MB, free: 8.684 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.02242, allocations: 23.94 kB / 285.5 MB, free: 8.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003557/0.02277, allocations: 289.8 kB / 285.8 MB, free: 8.379 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.02487, allocations: 1.898 MB / 287.7 MB, free: 6.379 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.02525, allocations: 351 kB / 288 MB, free: 6.027 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.845e-05/0.02535, allocations: 98.25 kB / 288.1 MB, free: 5.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.299e-05/0.02541, allocations: 24.48 kB / 288.1 MB, free: 5.906 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.02544, allocations: 39.06 kB / 288.2 MB, free: 5.859 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.886e-06/0.02544, allocations: 4 kB / 288.2 MB, free: 5.855 MB / 266.7 MB Notification: Performance of matching and sorting (n=58): time 0.0008914/0.02633, allocations: 0.5561 MB / 288.7 MB, free: 5.289 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.02637, allocations: 93.53 kB / 288.8 MB, free: 5.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.02652, allocations: 282.6 kB / 289.1 MB, free: 4.891 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.02655, allocations: 41.69 kB / 289.1 MB, free: 4.844 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.02668, allocations: 363.8 kB / 289.5 MB, free: 4.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.799e-05/0.02678, allocations: 210.1 kB / 289.7 MB, free: 4.273 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.0269, allocations: 130.6 kB / 289.8 MB, free: 4.137 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.301e-05/0.02698, allocations: 358.7 kB / 290.2 MB, free: 3.777 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.843e-05/0.02707, allocations: 77.95 kB / 290.2 MB, free: 3.703 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/0.02753, allocations: 341.4 kB / 290.6 MB, free: 3.258 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.02787, allocations: 471.3 kB / 291 MB, free: 2.699 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.02788, allocations: 4 kB / 291 MB, free: 2.695 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0004384/0.02832, allocations: 454.6 kB / 291.5 MB, free: 2.238 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.02833, allocations: 15.92 kB / 291.5 MB, free: 2.223 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.02834, allocations: 8 kB / 291.5 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002406/0.02858, allocations: 78.22 kB / 291.6 MB, free: 2.133 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/0.0289, allocations: 167.7 kB / 291.8 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.02999, allocations: 2.393 MB / 294.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.03023, allocations: 87.41 kB / 294.2 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.03026, allocations: 23.98 kB / 294.3 MB, free: 15.29 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (92): * Single equations (assignments): 90 * 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.0001406/0.0304, allocations: 165.7 kB / 294.4 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.03045, allocations: 43.91 kB / 294.5 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003778/0.03083, allocations: 352.2 kB / 294.8 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.03083, allocations: 7.984 kB / 294.8 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.03084, allocations: 4 kB / 294.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.03084, allocations: 3.984 kB / 294.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006635/0.03151, allocations: 0.6471 MB / 295.5 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.03151, allocations: 3.984 kB / 295.5 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.03173, allocations: 91.89 kB / 295.6 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001796/0.0319, allocations: 77.58 kB / 295.6 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.03193, allocations: 12 kB / 295.6 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.03306, allocations: 2.38 MB / 298 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.03307, allocations: 4 kB / 298 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/0.03349, allocations: 480.4 kB / 298.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.869e-05/0.03358, allocations: 59.7 kB / 298.6 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.03361, allocations: 12 kB / 298.6 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.03374, allocations: 20 kB / 298.6 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.506e-05/0.03381, allocations: 40.41 kB / 298.6 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.03383, allocations: 12 kB / 298.6 MB, free: 10.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.116e-05/0.0339, allocations: 96.62 kB / 298.7 MB, free: 10.56 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0339, allocations: 0 / 298.7 MB, free: 10.56 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004341/0.03434, allocations: 219.4 kB / 298.9 MB, free: 10.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 (55): * Single equations (assignments): 53 * 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.0001848/0.03452, allocations: 140.4 kB / 299.1 MB, free: 10.2 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004875/0.03501, allocations: 0.5584 MB / 299.6 MB, free: 9.621 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/0.03502, allocations: 8.5 kB / 299.7 MB, free: 9.613 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.03526, allocations: 385.9 kB / 300 MB, free: 9.207 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.03546, allocations: 44.97 kB / 300.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.03684, allocations: 1.102 MB / 301.2 MB, free: 8.023 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.858e-05/0.03692, allocations: 132.1 kB / 301.3 MB, free: 7.875 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001965/0.03712, allocations: 84.33 kB / 301.4 MB, free: 7.793 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.03728, allocations: 119.4 kB / 301.5 MB, free: 7.676 MB / 282.7 MB Notification: Performance of SimCode: time 8.51e-07/0.03728, allocations: 0 / 301.5 MB, free: 7.676 MB / 282.7 MB Notification: Performance of Templates: time 0.008698/0.04598, allocations: 6.289 MB / 307.8 MB, free: 1.477 MB / 282.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.79079946083948]