Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.0009536/0.0009536, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009153/0.0009153, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9833/0.9833, allocations: 177 MB / 204.8 MB, free: 5.59 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.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.519e-05, allocations: 5.266 kB / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.00326/0.003285, allocations: 2.842 MB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009409/0.004226, allocations: 0.7749 MB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.004337, allocations: 7.938 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.004514, allocations: 59.44 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.004716, allocations: 99.19 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.004906, allocations: 119.6 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.005181, allocations: 402.4 kB / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.005339, allocations: 87.34 kB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002893/0.005629, allocations: 243.4 kB / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.005763, allocations: 127.6 kB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.0058, allocations: 32 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.321e-05/0.005833, allocations: 32 kB / 277.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.226e-05/0.005875, allocations: 75.73 kB / 277.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.072e-05/0.005956, allocations: 123.7 kB / 277.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.006192, allocations: 259 kB / 278.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.006195, allocations: 4 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.006195, allocations: 0 / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.006199, allocations: 0 / 278.2 MB, free: 12.18 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0006809/0.00688, allocations: 0.6635 MB / 278.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.006917, allocations: 11.98 kB / 278.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.222e-05/0.006989, allocations: 60.7 kB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.007253, allocations: 220.9 kB / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.007288, allocations: 25.03 kB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.584e-05/0.007353, allocations: 32.38 kB / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.007725, allocations: 235.2 kB / 279.4 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.007734, allocations: 192 / 279.4 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.007752, allocations: 12.38 kB / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.007763, allocations: 15.94 kB / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.007945, allocations: 123.8 kB / 279.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.00908, allocations: 0.9096 MB / 280.5 MB, free: 9.742 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.009254, allocations: 99.06 kB / 280.6 MB, free: 9.633 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.542e-05/0.00931, allocations: 43.66 kB / 280.6 MB, free: 9.586 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.009333, allocations: 7.906 kB / 280.6 MB, free: 9.578 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.009351, allocations: 33.39 kB / 280.6 MB, free: 9.535 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.182e-06/0.009352, allocations: 4 kB / 280.6 MB, free: 9.531 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007825/0.01013, allocations: 420 kB / 281.1 MB, free: 9.105 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.01016, allocations: 55.41 kB / 281.1 MB, free: 9.039 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.01036, allocations: 320.1 kB / 281.4 MB, free: 8.711 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.01037, allocations: 29.7 kB / 281.4 MB, free: 8.676 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.01048, allocations: 274.8 kB / 281.7 MB, free: 8.402 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.01052, allocations: 79.38 kB / 281.8 MB, free: 8.324 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.989e-05/0.01059, allocations: 67.31 kB / 281.9 MB, free: 8.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.01071, allocations: 0.5156 MB / 282.4 MB, free: 7.723 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.942e-05/0.01078, allocations: 39.97 kB / 282.4 MB, free: 7.684 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.01091, allocations: 175.8 kB / 282.6 MB, free: 7.449 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.01112, allocations: 236.8 kB / 282.8 MB, free: 7.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.01112, allocations: 4 kB / 282.8 MB, free: 7.156 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003264/0.01145, allocations: 302.8 kB / 283.1 MB, free: 6.848 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.01146, allocations: 10.81 kB / 283.1 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.01147, allocations: 416 / 283.1 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002851/0.01175, allocations: 83.25 kB / 283.2 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.01191, allocations: 71.89 kB / 283.3 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.01346, allocations: 3.527 MB / 286.8 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.01358, allocations: 19.98 kB / 286.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/0.01378, allocations: 12 kB / 286.8 MB, free: 2.875 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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.0001091/0.01389, allocations: 184.5 kB / 287 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.01394, allocations: 35.81 kB / 287.1 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.206e-05/0.01398, allocations: 34.2 kB / 287.1 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.01399, allocations: 4 kB / 287.1 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.01399, allocations: 0 / 287.1 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.014, allocations: 3.984 kB / 287.1 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.0142, allocations: 228.5 kB / 287.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.0142, allocations: 0 / 287.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.752e-05/0.01429, allocations: 31.92 kB / 287.4 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002223/0.01451, allocations: 79.42 kB / 287.4 MB, free: 2.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.01453, allocations: 11.94 kB / 287.4 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/0.01601, allocations: 3.524 MB / 291 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01602, allocations: 3.938 kB / 291 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.01629, allocations: 338.9 kB / 291.3 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.369e-05/0.01631, allocations: 23.8 kB / 291.3 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.01632, allocations: 8 kB / 291.3 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.12e-05/0.01641, allocations: 4 kB / 291.3 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.01646, allocations: 28.02 kB / 291.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.01647, allocations: 8 kB / 291.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001086/0.01657, allocations: 209.1 kB / 291.6 MB, free: 13.81 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01657, allocations: 0 / 291.6 MB, free: 13.81 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002652/0.01684, allocations: 68 kB / 291.6 MB, free: 13.75 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (18): * Single equations (assignments): 16 * 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 9.168e-05/0.01693, allocations: 107.1 kB / 291.7 MB, free: 13.63 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004333/0.01737, allocations: 0.4905 MB / 292.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01737, allocations: 0 / 292.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.01758, allocations: 423.2 kB / 292.6 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.01781, allocations: 29.3 kB / 292.7 MB, free: 12.63 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009394/0.01875, allocations: 0.5228 MB / 293.2 MB, free: 12.08 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.725e-05/0.01883, allocations: 100.1 kB / 293.3 MB, free: 11.96 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.041e-05/0.01891, allocations: 30.31 kB / 293.3 MB, free: 11.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/0.01896, allocations: 20.5 kB / 293.3 MB, free: 11.91 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01896, allocations: 4 kB / 293.4 MB, free: 11.9 MB / 282.7 MB Notification: Performance of Templates: time 0.0056/0.02456, allocations: 2.828 MB / 296.2 MB, free: 9.105 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/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.948072297964245]