Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.0006845/0.0006845, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009946/0.001679, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006875/0.0006875, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009737/0.001661, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9352/0.9352, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08789/1.023, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.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.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.782e-05, allocations: 2.312 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004135/0.004153, allocations: 4.992 MB / 250.2 MB, free: 8.523 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.006887, allocations: 2.167 MB / 252.4 MB, free: 6.348 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003347/0.007222, allocations: 16 kB / 252.4 MB, free: 6.332 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.008806, allocations: 1.493 MB / 253.9 MB, free: 4.832 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008304/0.009637, allocations: 421.1 kB / 254.3 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.01099, allocations: 1.147 MB / 255.4 MB, free: 3.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007498/0.01174, allocations: 0.7703 MB / 256.2 MB, free: 2.496 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007029/0.01244, allocations: 0.585 MB / 256.8 MB, free: 1.902 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004928/0.01294, allocations: 0.496 MB / 257.3 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003469/0.01328, allocations: 343.1 kB / 257.6 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.769e-05/0.01336, allocations: 68 kB / 257.7 MB, free: 1 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007876/0.01415, allocations: 423.2 kB / 258.1 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.086e-05/0.01423, allocations: 123.6 kB / 258.2 MB, free: 476 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.01438, allocations: 203.6 kB / 258.4 MB, free: 272 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000851/0.01523, allocations: 0.8175 MB / 259.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/0.01524, allocations: 0 / 259.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.05e-06/0.01525, allocations: 0 / 259.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.983e-05/0.01527, allocations: 0 / 259.2 MB, free: 15.45 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.002483/0.01775, allocations: 1.69 MB / 260.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.01778, allocations: 16.56 kB / 260.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.01922, allocations: 0.5197 MB / 261.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.0194, allocations: 192.8 kB / 261.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.846e-05/0.01945, allocations: 66.38 kB / 261.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.75e-05/0.01954, allocations: 88.3 kB / 261.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006129/0.02016, allocations: 0.6441 MB / 262.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.02017, allocations: 4.188 kB / 262.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.581e-05/0.02022, allocations: 31.94 kB / 262.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.02023, allocations: 20 kB / 262.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003512/0.02058, allocations: 293.8 kB / 262.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/0.02262, allocations: 1.914 MB / 264.7 MB, free: 9.781 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.02301, allocations: 342.6 kB / 265 MB, free: 9.441 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.441e-05/0.0231, allocations: 98.25 kB / 265.1 MB, free: 9.344 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.745e-05/0.02317, allocations: 36.41 kB / 265.2 MB, free: 9.305 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.0232, allocations: 39.06 kB / 265.2 MB, free: 9.258 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.224e-06/0.0232, allocations: 0 / 265.2 MB, free: 9.258 MB / 266.7 MB Notification: Performance of matching and sorting (n=58): time 0.001897/0.02509, allocations: 1.028 MB / 266.2 MB, free: 8.219 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.02512, allocations: 59.91 kB / 266.3 MB, free: 8.148 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.02535, allocations: 298.6 kB / 266.6 MB, free: 7.844 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.02537, allocations: 37.7 kB / 266.6 MB, free: 7.801 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.0255, allocations: 363.8 kB / 267 MB, free: 7.438 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.27e-05/0.02559, allocations: 210.2 kB / 267.2 MB, free: 7.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.02571, allocations: 134.6 kB / 267.3 MB, free: 7.094 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.23e-05/0.02579, allocations: 358.7 kB / 267.7 MB, free: 6.734 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.49e-05/0.02587, allocations: 73.97 kB / 267.7 MB, free: 6.664 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/0.0262, allocations: 345.3 kB / 268.1 MB, free: 6.215 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/0.02654, allocations: 495.3 kB / 268.6 MB, free: 5.633 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.02655, allocations: 0 / 268.6 MB, free: 5.633 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0004238/0.02697, allocations: 463.1 kB / 269 MB, free: 5.168 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.02699, allocations: 15.92 kB / 269 MB, free: 5.152 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.027, allocations: 8 kB / 269 MB, free: 5.145 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002862/0.02728, allocations: 89.62 kB / 269.1 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.02761, allocations: 183.7 kB / 269.3 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.02885, allocations: 2.385 MB / 271.7 MB, free: 2.312 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.02908, allocations: 95.45 kB / 271.8 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.02911, allocations: 24 kB / 271.8 MB, free: 2.195 MB / 266.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.0001245/0.02923, allocations: 157.6 kB / 272 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.02928, allocations: 51.89 kB / 272 MB, free: 1.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003631/0.02965, allocations: 344.5 kB / 272.3 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.02965, allocations: 8 kB / 272.3 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.02965, allocations: 0 / 272.3 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.02966, allocations: 7.922 kB / 272.4 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006557/0.03031, allocations: 0.6627 MB / 273 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.03031, allocations: 0 / 273 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.03055, allocations: 111.9 kB / 273.1 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.028e-05/0.03063, allocations: 59.56 kB / 273.2 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002315/0.03086, allocations: 81.61 kB / 273.3 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.03088, allocations: 12 kB / 273.3 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008962/0.03178, allocations: 2.369 MB / 275.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.03178, allocations: 0 / 275.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004192/0.0322, allocations: 484.3 kB / 276.1 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.03223, allocations: 12 kB / 276.1 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.03236, allocations: 23.98 kB / 276.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/0.03243, allocations: 44.52 kB / 276.2 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.03245, allocations: 15.98 kB / 276.2 MB, free: 13.52 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.161e-05/0.03252, allocations: 100.6 kB / 276.3 MB, free: 13.42 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03252, allocations: 4 kB / 276.3 MB, free: 13.42 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004035/0.03292, allocations: 215.5 kB / 276.5 MB, free: 13.21 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.0001878/0.03311, allocations: 148.2 kB / 276.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004687/0.03358, allocations: 0.5668 MB / 277.2 MB, free: 12.47 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.498e-05/0.0336, allocations: 8.5 kB / 277.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.03387, allocations: 426.8 kB / 277.7 MB, free: 12.01 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.03418, allocations: 322.2 kB / 278 MB, free: 11.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005264/0.03945, allocations: 1.109 MB / 279.1 MB, free: 10.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.131e-05/0.03953, allocations: 144.1 kB / 279.2 MB, free: 10.35 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001944/0.03972, allocations: 84.39 kB / 279.3 MB, free: 10.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.0399, allocations: 131.3 kB / 279.4 MB, free: 10.14 MB / 282.7 MB Notification: Performance of SimCode: time 1.152e-06/0.0399, allocations: 0 / 279.4 MB, free: 10.14 MB / 282.7 MB Notification: Performance of Templates: time 0.009147/0.04905, allocations: 6.633 MB / 286.1 MB, free: 3.594 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4965579574927688]