Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001325/0.001325, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001152/0.001152, allocations: 162.7 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9695/0.9695, allocations: 177 MB / 205.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 273 MB, free: 1.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359e-05/1.466e-05, allocations: 6.312 kB / 273 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004279/0.004294, allocations: 4.969 MB / 278 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002357/0.00665, allocations: 2.078 MB / 280.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.006838, allocations: 16 kB / 280.1 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.008433, allocations: 1.481 MB / 281.6 MB, free: 9.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.009622, allocations: 437.1 kB / 282 MB, free: 8.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.01108, allocations: 1.156 MB / 283.1 MB, free: 7.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008367/0.01192, allocations: 0.7586 MB / 283.9 MB, free: 6.805 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007671/0.01269, allocations: 0.5713 MB / 284.5 MB, free: 6.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005732/0.01326, allocations: 486.9 kB / 284.9 MB, free: 5.754 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003387/0.0136, allocations: 335.1 kB / 285.3 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.326e-05/0.01368, allocations: 68 kB / 285.3 MB, free: 5.359 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006887/0.01437, allocations: 403.3 kB / 285.7 MB, free: 4.965 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.094e-05/0.01446, allocations: 167.3 kB / 285.9 MB, free: 4.801 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.01463, allocations: 255.3 kB / 286.1 MB, free: 4.551 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.01579, allocations: 0.8876 MB / 287 MB, free: 3.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.01579, allocations: 4 kB / 287 MB, free: 3.656 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01579, allocations: 0 / 287 MB, free: 3.656 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.0158, allocations: 0 / 287 MB, free: 3.656 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.002652/0.01846, allocations: 1.513 MB / 288.5 MB, free: 2.102 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.0185, allocations: 11.98 kB / 288.6 MB, free: 2.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/0.02011, allocations: 495.8 kB / 289 MB, free: 1.605 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.02029, allocations: 212.3 kB / 289.2 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.986e-05/0.02034, allocations: 62.38 kB / 289.3 MB, free: 1.309 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.02044, allocations: 80.38 kB / 289.4 MB, free: 1.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.0216, allocations: 0.7123 MB / 290.1 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.02163, allocations: 192 / 290.1 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.168e-05/0.02168, allocations: 40.36 kB / 290.1 MB, free: 464 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.0217, allocations: 31.88 kB / 290.2 MB, free: 432 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006624/0.02236, allocations: 435.6 kB / 290.6 MB, free: 0 / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1032/0.1255, allocations: 2.288 MB / 292.9 MB, free: 27.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006053/0.1261, allocations: 423.8 kB / 293.3 MB, free: 27.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.1263, allocations: 131.7 kB / 293.4 MB, free: 27.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.037e-05/0.1264, allocations: 30.61 kB / 293.5 MB, free: 27.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.1264, allocations: 41.36 kB / 293.5 MB, free: 27.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 3.437e-06/0.1264, allocations: 1.312 kB / 293.5 MB, free: 27.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.002325/0.1287, allocations: 1.321 MB / 294.8 MB, free: 26.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.1288, allocations: 91.86 kB / 294.9 MB, free: 26.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.129, allocations: 364.4 kB / 295.3 MB, free: 26.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.129, allocations: 36.56 kB / 295.3 MB, free: 26.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.1291, allocations: 417.4 kB / 295.7 MB, free: 25.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.218e-05/0.1292, allocations: 224.8 kB / 295.9 MB, free: 25.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.1294, allocations: 161.8 kB / 296.1 MB, free: 25.6 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.386e-05/0.1294, allocations: 0.5201 MB / 296.6 MB, free: 25.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.1297, allocations: 120.5 kB / 296.7 MB, free: 25.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.1299, allocations: 496.3 kB / 297.2 MB, free: 24.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00051/0.1304, allocations: 0.6182 MB / 297.8 MB, free: 24.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1305, allocations: 3.938 kB / 297.8 MB, free: 24.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008/0.1313, allocations: 0.6501 MB / 298.5 MB, free: 23.83 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1313, allocations: 7.906 kB / 298.5 MB, free: 23.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.1313, allocations: 7.812 kB / 298.5 MB, free: 23.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002887/0.1316, allocations: 92.84 kB / 298.6 MB, free: 23.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004189/0.132, allocations: 184.9 kB / 298.8 MB, free: 23.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009952/0.133, allocations: 3.554 MB / 302.3 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.1333, allocations: 40.12 kB / 302.4 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.144e-05/0.1333, allocations: 39.92 kB / 302.4 MB, free: 20.21 MB / 266.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.0001338/0.1334, allocations: 207.2 kB / 302.6 MB, free: 20.01 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.458e-05/0.1335, allocations: 63.61 kB / 302.7 MB, free: 19.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006919/0.1342, allocations: 491.4 kB / 303.1 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1342, allocations: 5.438 kB / 303.1 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1342, allocations: 1.703 kB / 303.1 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.1342, allocations: 4.266 kB / 303.2 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.1354, allocations: 1.024 MB / 304.2 MB, free: 19.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1354, allocations: 1.062 kB / 304.2 MB, free: 19.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/0.1357, allocations: 114.4 kB / 304.3 MB, free: 19.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002236/0.136, allocations: 84.88 kB / 304.4 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.136, allocations: 19.16 kB / 304.4 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008376/0.1368, allocations: 3.535 MB / 307.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1368, allocations: 4.031 kB / 307.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007778/0.1376, allocations: 0.6973 MB / 308.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.1377, allocations: 85.95 kB / 308.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.1378, allocations: 15.44 kB / 308.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.1379, allocations: 28.23 kB / 308.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.752e-05/0.138, allocations: 49.33 kB / 308.8 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.1381, allocations: 19.52 kB / 308.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001202/0.1382, allocations: 226.5 kB / 309 MB, free: 15.03 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1382, allocations: 0 / 309 MB, free: 15.03 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004927/0.1387, allocations: 174.7 kB / 309.2 MB, free: 15.01 MB / 266.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.0002134/0.1389, allocations: 157.6 kB / 309.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007615/0.1397, allocations: 0.7624 MB / 310.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1397, allocations: 0 / 310.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003407/0.14, allocations: 0.5414 MB / 310.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.1403, allocations: 62.53 kB / 310.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.1419, allocations: 1.085 MB / 311.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.689e-05/0.142, allocations: 138.6 kB / 312 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000214/0.1422, allocations: 89.89 kB / 312 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.1423, allocations: 50.23 kB / 312.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1423, allocations: 0 / 312.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of Templates: time 0.007883/0.1501, allocations: 6.441 MB / 318.5 MB, free: 8.281 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.8810073309578]