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.001237/0.001237, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001388/0.001388, allocations: 162.4 kB / 24.91 MB, free: 8.766 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.8821/0.8821, allocations: 177 MB / 205.2 MB, free: 5.434 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.372e-06/1.372e-06, allocations: 0 / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.047e-05, allocations: 2.312 kB / 273.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006065/0.006086, allocations: 4.89 MB / 278.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003202/0.009287, allocations: 2.151 MB / 280.4 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.009512, allocations: 16 kB / 280.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00212/0.01163, allocations: 1.481 MB / 281.9 MB, free: 8.625 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008677/0.0125, allocations: 445.1 kB / 282.4 MB, free: 8.188 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.01419, allocations: 1.159 MB / 283.5 MB, free: 7.023 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007568/0.01495, allocations: 0.7624 MB / 284.3 MB, free: 6.254 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007725/0.01572, allocations: 0.6201 MB / 284.9 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005369/0.01626, allocations: 479 kB / 285.4 MB, free: 5.156 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004562/0.01672, allocations: 343.1 kB / 285.7 MB, free: 4.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.088e-05/0.01681, allocations: 68 kB / 285.8 MB, free: 4.754 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007073/0.01752, allocations: 403.3 kB / 286.2 MB, free: 4.359 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.01763, allocations: 167.3 kB / 286.3 MB, free: 4.195 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002339/0.01787, allocations: 259.3 kB / 286.6 MB, free: 3.941 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.01898, allocations: 0.8915 MB / 287.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.01898, allocations: 3.938 kB / 287.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01898, allocations: 0 / 287.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.01899, allocations: 0 / 287.5 MB, free: 3.043 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.003298/0.02229, allocations: 1.451 MB / 288.9 MB, free: 1.562 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.02232, allocations: 15.98 kB / 288.9 MB, free: 1.547 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002167/0.02449, allocations: 0.5118 MB / 289.5 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.02466, allocations: 201.5 kB / 289.7 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.846e-05/0.02472, allocations: 62.38 kB / 289.7 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.02484, allocations: 84.33 kB / 289.8 MB, free: 0.668 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008705/0.02571, allocations: 0.6441 MB / 290.4 MB, free: 0 / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-05/0.02578, allocations: 0.7656 kB / 290.4 MB, free: 19.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.02591, allocations: 34.75 kB / 290.5 MB, free: 19.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.02592, allocations: 21.84 kB / 290.5 MB, free: 19.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004812/0.0264, allocations: 288 kB / 290.8 MB, free: 19.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002284/0.02869, allocations: 1.894 MB / 292.7 MB, free: 18.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004087/0.02909, allocations: 342.3 kB / 293 MB, free: 18.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.0292, allocations: 94.14 kB / 293.1 MB, free: 18.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.959e-05/0.02927, allocations: 28.84 kB / 293.1 MB, free: 18.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/0.02929, allocations: 42.41 kB / 293.2 MB, free: 18.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 1.783e-06/0.02929, allocations: 0.5312 kB / 293.2 MB, free: 18.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=58): time 0.0009387/0.03023, allocations: 0.5687 MB / 293.7 MB, free: 18.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.03025, allocations: 84.59 kB / 293.8 MB, free: 18.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.0304, allocations: 282.1 kB / 294.1 MB, free: 17.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.03043, allocations: 35.77 kB / 294.1 MB, free: 17.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.03053, allocations: 370.9 kB / 294.5 MB, free: 17.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.744e-05/0.03061, allocations: 207.2 kB / 294.7 MB, free: 17.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.03073, allocations: 135.2 kB / 294.8 MB, free: 17.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.42e-05/0.03078, allocations: 350.5 kB / 295.2 MB, free: 17.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.03088, allocations: 77.83 kB / 295.2 MB, free: 17.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.03105, allocations: 349.1 kB / 295.6 MB, free: 16.99 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.03139, allocations: 467.6 kB / 296 MB, free: 16.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.03139, allocations: 2.469 kB / 296 MB, free: 16.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0004884/0.03188, allocations: 467.1 kB / 296.5 MB, free: 16.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.0319, allocations: 7.219 kB / 296.5 MB, free: 16.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.03191, allocations: 10.41 kB / 296.5 MB, free: 16.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000253/0.03216, allocations: 81.34 kB / 296.6 MB, free: 16.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/0.0325, allocations: 163.2 kB / 296.8 MB, free: 16.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006963/0.0332, allocations: 2.387 MB / 299.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.03344, allocations: 86.73 kB / 299.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.03347, allocations: 26.27 kB / 299.3 MB, free: 14.37 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.0001077/0.03357, allocations: 165.4 kB / 299.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.825e-05/0.03363, allocations: 43.58 kB / 299.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004018/0.03403, allocations: 346 kB / 299.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.03404, allocations: 9.688 kB / 299.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.03404, allocations: 1.75 kB / 299.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.03405, allocations: 4.312 kB / 299.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007043/0.03475, allocations: 0.6545 MB / 300.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.03476, allocations: 1.734 kB / 300.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.03499, allocations: 101.6 kB / 300.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001829/0.03517, allocations: 74.7 kB / 300.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.03519, allocations: 13.48 kB / 300.7 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006099/0.0358, allocations: 2.38 MB / 303 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.0358, allocations: 1.094 kB / 303 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004531/0.03625, allocations: 482.4 kB / 303.5 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.731e-05/0.03634, allocations: 53.12 kB / 303.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.03637, allocations: 13.5 kB / 303.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.0365, allocations: 22.5 kB / 303.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.03657, allocations: 45.19 kB / 303.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.03659, allocations: 11.23 kB / 303.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.176e-05/0.03666, allocations: 94 kB / 303.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03666, allocations: 0 / 303.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000419/0.03708, allocations: 221.7 kB / 304 MB, free: 11.45 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 (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.0001659/0.03724, allocations: 141.5 kB / 304.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004595/0.0377, allocations: 0.5515 MB / 304.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/0.03772, allocations: 5.75 kB / 304.6 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.03793, allocations: 397.3 kB / 305 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.03812, allocations: 46.36 kB / 305.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.0394, allocations: 1.05 MB / 306.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.881e-05/0.03948, allocations: 136.6 kB / 306.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001926/0.03967, allocations: 82.94 kB / 306.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.03983, allocations: 125.7 kB / 306.5 MB, free: 10.22 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.03983, allocations: 0 / 306.5 MB, free: 10.22 MB / 266.7 MB Notification: Performance of Templates: time 0.007687/0.04752, allocations: 6.436 MB / 312.9 MB, free: 8.352 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.7125083548016846]