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.0009449/0.0009449, 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.0009889/0.0009889, 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.9666/0.9666, allocations: 177 MB / 204.8 MB, free: 5.57 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 2.024e-06/2.024e-06, allocations: 0 / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.233e-05, allocations: 9.266 kB / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.003027/0.00305, allocations: 2.83 MB / 275.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.004274, allocations: 0.7749 MB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.0044, allocations: 11.94 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.004613, allocations: 67.42 kB / 276.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.004861, allocations: 103.1 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.005085, allocations: 107.7 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.005394, allocations: 402.3 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.005561, allocations: 95.31 kB / 277.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003286/0.005889, allocations: 235.5 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.006029, allocations: 127.6 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.006067, allocations: 32 kB / 277.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.527e-05/0.006102, allocations: 32 kB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.00615, allocations: 87.66 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.331e-05/0.006233, allocations: 111.7 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.006491, allocations: 251 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.006494, allocations: 4 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.006495, allocations: 4 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.0065, allocations: 0 / 278.2 MB, free: 12.16 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.0008867/0.007387, allocations: 0.6674 MB / 278.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.007427, allocations: 11.98 kB / 278.8 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.396e-05/0.007511, allocations: 64.7 kB / 278.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.007766, allocations: 220.9 kB / 279.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/0.007799, allocations: 21.03 kB / 279.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.007837, allocations: 32.38 kB / 279.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003283/0.008165, allocations: 231.3 kB / 279.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.008176, allocations: 192 / 279.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.008197, allocations: 16.38 kB / 279.4 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.00821, allocations: 11.94 kB / 279.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.008394, allocations: 127.8 kB / 279.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.009435, allocations: 0.9135 MB / 280.5 MB, free: 9.711 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.00963, allocations: 105.7 kB / 280.6 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.307e-05/0.009683, allocations: 35.61 kB / 280.6 MB, free: 9.559 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.009705, allocations: 7.906 kB / 280.6 MB, free: 9.551 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.009726, allocations: 37.39 kB / 280.6 MB, free: 9.504 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.009728, allocations: 4 kB / 280.6 MB, free: 9.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008188/0.01055, allocations: 416 kB / 281.1 MB, free: 9.078 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.01057, allocations: 55.41 kB / 281.1 MB, free: 9.012 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.01077, allocations: 320.1 kB / 281.4 MB, free: 8.684 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.01078, allocations: 33.7 kB / 281.5 MB, free: 8.645 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.01089, allocations: 282.8 kB / 281.7 MB, free: 8.363 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.01093, allocations: 67.39 kB / 281.8 MB, free: 8.297 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.798e-05/0.011, allocations: 75.3 kB / 281.9 MB, free: 8.215 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.01112, allocations: 0.5117 MB / 282.4 MB, free: 7.691 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.845e-05/0.01118, allocations: 35.98 kB / 282.4 MB, free: 7.656 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.01131, allocations: 179.7 kB / 282.6 MB, free: 7.418 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.01152, allocations: 236.8 kB / 282.8 MB, free: 7.129 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01152, allocations: 0 / 282.8 MB, free: 7.129 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000329/0.01185, allocations: 302.8 kB / 283.1 MB, free: 6.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.01187, allocations: 6.812 kB / 283.1 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.01187, allocations: 4 kB / 283.1 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000283/0.01216, allocations: 87.64 kB / 283.2 MB, free: 6.719 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.01231, allocations: 67.91 kB / 283.3 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.01379, allocations: 3.532 MB / 286.8 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.0139, allocations: 19.98 kB / 286.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.01392, allocations: 12 kB / 286.8 MB, free: 2.844 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 9.721e-05/0.01402, allocations: 180.5 kB / 287 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.01405, allocations: 35.81 kB / 287.1 MB, free: 2.621 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.01409, allocations: 38.23 kB / 287.1 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01409, allocations: 4 kB / 287.1 MB, free: 2.578 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01409, allocations: 0 / 287.1 MB, free: 2.578 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.0141, allocations: 0 / 287.1 MB, free: 2.578 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.01428, allocations: 232.5 kB / 287.3 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01429, allocations: 0 / 287.3 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.855e-05/0.01436, allocations: 31.92 kB / 287.4 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001959/0.01456, allocations: 79.23 kB / 287.4 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.01458, allocations: 11.94 kB / 287.4 MB, free: 2.188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/0.01592, allocations: 3.528 MB / 291 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01593, allocations: 3.938 kB / 291 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.01619, allocations: 338.9 kB / 291.3 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.01621, allocations: 19.81 kB / 291.3 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.01622, allocations: 8 kB / 291.3 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.102e-05/0.01631, allocations: 11.98 kB / 291.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.01636, allocations: 24.09 kB / 291.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.01637, allocations: 7.984 kB / 291.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001085/0.01648, allocations: 205.1 kB / 291.6 MB, free: 13.78 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01648, allocations: 4.031 kB / 291.6 MB, free: 13.78 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002406/0.01672, allocations: 72 kB / 291.7 MB, free: 13.71 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 8.389e-05/0.0168, allocations: 103.2 kB / 291.8 MB, free: 13.6 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004268/0.01723, allocations: 0.4949 MB / 292.2 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01723, allocations: 0 / 292.2 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.01744, allocations: 419.2 kB / 292.7 MB, free: 12.62 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.01767, allocations: 28.48 kB / 292.7 MB, free: 12.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008462/0.01851, allocations: 0.5198 MB / 293.2 MB, free: 12.05 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.333e-05/0.01858, allocations: 92.17 kB / 293.3 MB, free: 11.94 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.989e-05/0.01866, allocations: 30.27 kB / 293.3 MB, free: 11.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.01871, allocations: 24.44 kB / 293.3 MB, free: 11.88 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01871, allocations: 0 / 293.3 MB, free: 11.88 MB / 282.7 MB Notification: Performance of Templates: time 0.004953/0.02366, allocations: 2.935 MB / 296.3 MB, free: 8.969 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.717646124307066]