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.001343/0.001343, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.0009729/0.0009729, allocations: 166.8 kB / 25.61 MB, free: 8.582 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.924/0.924, allocations: 177 MB / 205.9 MB, free: 4.469 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.493e-06/1.493e-06, allocations: 3.938 kB / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432e-05/1.581e-05, allocations: 6.828 kB / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.002915/0.002931, allocations: 2.802 MB / 276.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009603/0.003892, allocations: 0.7751 MB / 277.7 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.004024, allocations: 4.656 kB / 277.7 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.004189, allocations: 61.91 kB / 277.8 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.004395, allocations: 103.1 kB / 277.9 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.00457, allocations: 111.7 kB / 278 MB, free: 440 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.004828, allocations: 402.4 kB / 278.4 MB, free: 36 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.004988, allocations: 91.33 kB / 278.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.005267, allocations: 243.4 kB / 278.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.005402, allocations: 123.6 kB / 278.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.005437, allocations: 32 kB / 278.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.207e-05/0.005469, allocations: 32 kB / 278.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.718e-05/0.005516, allocations: 79.67 kB / 279 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.07e-05/0.005597, allocations: 119.7 kB / 279.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.005829, allocations: 262.9 kB / 279.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.005831, allocations: 0 / 279.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.005831, allocations: 0 / 279.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.005836, allocations: 0 / 279.3 MB, free: 15.07 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.0006642/0.0065, allocations: 0.6712 MB / 280 MB, free: 14.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.006531, allocations: 8.031 kB / 280 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.948e-05/0.006601, allocations: 60.7 kB / 280.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.006807, allocations: 217 kB / 280.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.006837, allocations: 29.02 kB / 280.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.006871, allocations: 32.33 kB / 280.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.007121, allocations: 211.3 kB / 280.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.007132, allocations: 192 / 280.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.007152, allocations: 8.375 kB / 280.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.007162, allocations: 11.94 kB / 280.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.007292, allocations: 112.4 kB / 280.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009934/0.008286, allocations: 0.9095 MB / 281.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.008446, allocations: 91.09 kB / 281.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.55e-05/0.008491, allocations: 35.67 kB / 281.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.00851, allocations: 4 kB / 281.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.008535, allocations: 37.33 kB / 281.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.964e-06/0.008537, allocations: 0 / 281.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.001042/0.009579, allocations: 366.8 kB / 282.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.009605, allocations: 55.41 kB / 282.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.009779, allocations: 316 kB / 282.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.009793, allocations: 29.7 kB / 282.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.009901, allocations: 278.8 kB / 282.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.009939, allocations: 83.25 kB / 282.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.01001, allocations: 75.28 kB / 282.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.01012, allocations: 0.5078 MB / 283.4 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.624e-05/0.01017, allocations: 31.97 kB / 283.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.01028, allocations: 171.9 kB / 283.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.01044, allocations: 222.4 kB / 283.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.01044, allocations: 4 kB / 283.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000297/0.01074, allocations: 278.7 kB / 284.1 MB, free: 9.895 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.01075, allocations: 8 kB / 284.1 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.01076, allocations: 4.406 kB / 284.1 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002613/0.01102, allocations: 79.3 kB / 284.2 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.01118, allocations: 67.89 kB / 284.3 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.01256, allocations: 3.49 MB / 287.8 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.01267, allocations: 20 kB / 287.8 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.01268, allocations: 8 kB / 287.8 MB, free: 5.984 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.386e-05/0.01278, allocations: 188.5 kB / 288 MB, free: 5.789 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.01281, allocations: 31.81 kB / 288 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.455e-05/0.01285, allocations: 34.27 kB / 288 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.01285, allocations: 0 / 288 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01285, allocations: 7.938 kB / 288.1 MB, free: 5.715 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01285, allocations: 0 / 288.1 MB, free: 5.715 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.013, allocations: 181.1 kB / 288.2 MB, free: 5.512 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.013, allocations: 0 / 288.2 MB, free: 5.512 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.114e-05/0.01309, allocations: 39.91 kB / 288.3 MB, free: 5.473 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001737/0.01326, allocations: 67.31 kB / 288.3 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.01327, allocations: 8 kB / 288.3 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/0.01473, allocations: 3.482 MB / 291.8 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01473, allocations: 192 / 291.8 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.01495, allocations: 334.3 kB / 292.1 MB, free: 1.324 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.01497, allocations: 19.81 kB / 292.2 MB, free: 1.305 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.015, allocations: 8 kB / 292.2 MB, free: 1.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.187e-05/0.01508, allocations: 15.92 kB / 292.2 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.01511, allocations: 24.03 kB / 292.2 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.01512, allocations: 0 / 292.2 MB, free: 1.258 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.524e-05/0.01521, allocations: 201.1 kB / 292.4 MB, free: 1.066 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01521, allocations: 3.938 kB / 292.4 MB, free: 1.062 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002265/0.01543, allocations: 76 kB / 292.5 MB, free: 0.9883 MB / 266.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 7.385e-05/0.01551, allocations: 99.19 kB / 292.6 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000338/0.01584, allocations: 495.1 kB / 293.1 MB, free: 372 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.01585, allocations: 0 / 293.1 MB, free: 372 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.01605, allocations: 415.2 kB / 293.5 MB, free: 15.92 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.01627, allocations: 29.3 kB / 293.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000682/0.01695, allocations: 0.5072 MB / 294 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.079e-05/0.017, allocations: 96.31 kB / 294.1 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.337e-05/0.01708, allocations: 26.27 kB / 294.1 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.83e-05/0.01716, allocations: 102.2 kB / 294.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01716, allocations: 0 / 294.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of Templates: time 0.004972/0.02214, allocations: 3.096 MB / 297.3 MB, free: 12.06 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.6137774791568518]