Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.001003/0.001003, allocations: 82.59 kB / 21.42 MB, free: 3.074 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.0009862/0.0009862, allocations: 167.6 kB / 24.82 MB, free: 8.926 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.9633/0.9633, allocations: 177 MB / 205.1 MB, free: 5.453 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.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.449e-05, allocations: 2.312 kB / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003783/0.003808, allocations: 2.829 MB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.004813, allocations: 0.7788 MB / 277 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.004937, allocations: 4 kB / 277 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.005117, allocations: 67.31 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.005343, allocations: 99.19 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.005531, allocations: 115.7 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002665/0.005797, allocations: 410.2 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.005952, allocations: 99.31 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003028/0.006255, allocations: 243.4 kB / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.006382, allocations: 127.6 kB / 278.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.873e-05/0.006421, allocations: 36 kB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.328e-05/0.006454, allocations: 32 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.61e-05/0.0065, allocations: 83.67 kB / 278.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.05e-05/0.006581, allocations: 123.7 kB / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.006799, allocations: 263 kB / 278.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.006801, allocations: 0 / 278.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.006801, allocations: 0 / 278.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.006805, allocations: 0 / 278.6 MB, free: 11.9 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.0006796/0.007485, allocations: 0.6789 MB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.007525, allocations: 15.97 kB / 279.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.622e-05/0.007601, allocations: 64.7 kB / 279.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.007809, allocations: 220 kB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.007837, allocations: 24.97 kB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.007872, allocations: 32.38 kB / 279.6 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.008129, allocations: 203.3 kB / 279.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.008139, allocations: 192 / 279.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.008159, allocations: 24.36 kB / 279.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.008168, allocations: 11.94 kB / 279.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.008292, allocations: 92.5 kB / 280 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00091/0.009202, allocations: 0.9133 MB / 280.9 MB, free: 9.492 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.00934, allocations: 95.03 kB / 281 MB, free: 9.387 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.814e-05/0.009378, allocations: 39.67 kB / 281 MB, free: 9.344 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.009397, allocations: 4 kB / 281 MB, free: 9.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.009418, allocations: 41.39 kB / 281.1 MB, free: 9.289 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 2.795e-06/0.00942, allocations: 7.922 kB / 281.1 MB, free: 9.281 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009814/0.0104, allocations: 368 kB / 281.4 MB, free: 8.906 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.01043, allocations: 51.41 kB / 281.5 MB, free: 8.844 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.0106, allocations: 324 kB / 281.8 MB, free: 8.512 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.01061, allocations: 29.7 kB / 281.8 MB, free: 8.477 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.01073, allocations: 286.8 kB / 282.1 MB, free: 8.191 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.01076, allocations: 75.36 kB / 282.2 MB, free: 8.117 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.977e-05/0.01083, allocations: 71.28 kB / 282.2 MB, free: 8.039 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.01095, allocations: 0.5117 MB / 282.8 MB, free: 7.516 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.638e-05/0.011, allocations: 27.97 kB / 282.8 MB, free: 7.488 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.01111, allocations: 187.3 kB / 283 MB, free: 7.242 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.01128, allocations: 224.8 kB / 283.2 MB, free: 6.965 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01128, allocations: 0 / 283.2 MB, free: 6.965 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002795/0.01156, allocations: 283.1 kB / 283.5 MB, free: 6.676 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.01157, allocations: 11.12 kB / 283.5 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.01158, allocations: 4 kB / 283.5 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002593/0.01184, allocations: 79.3 kB / 283.6 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.01198, allocations: 71.91 kB / 283.6 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.01333, allocations: 3.478 MB / 287.1 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.01344, allocations: 19.94 kB / 287.1 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.01345, allocations: 16.06 kB / 287.1 MB, free: 2.766 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.249e-05/0.01354, allocations: 172.5 kB / 287.3 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.01358, allocations: 31.86 kB / 287.3 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.01361, allocations: 30.27 kB / 287.4 MB, free: 2.523 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01361, allocations: 4 kB / 287.4 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.01362, allocations: 7.875 kB / 287.4 MB, free: 2.512 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01362, allocations: 4 kB / 287.4 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.01378, allocations: 189.1 kB / 287.6 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.01378, allocations: 0 / 287.6 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.682e-05/0.01386, allocations: 39.97 kB / 287.6 MB, free: 2.258 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002/0.01406, allocations: 79.42 kB / 287.7 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.01407, allocations: 4 kB / 287.7 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/0.01582, allocations: 3.475 MB / 291.2 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01582, allocations: 3.938 kB / 291.2 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.01606, allocations: 330.9 kB / 291.5 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.373e-05/0.01609, allocations: 27.91 kB / 291.5 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.0161, allocations: 4 kB / 291.5 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.985e-05/0.01619, allocations: 11.92 kB / 291.5 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.01624, allocations: 19.97 kB / 291.6 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.01624, allocations: 8 kB / 291.6 MB, free: 14.04 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.459e-05/0.01634, allocations: 209 kB / 291.8 MB, free: 13.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01634, allocations: 0 / 291.8 MB, free: 13.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002365/0.01657, allocations: 72 kB / 291.8 MB, free: 13.77 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.164e-05/0.01666, allocations: 107.2 kB / 291.9 MB, free: 13.65 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003409/0.017, allocations: 489.5 kB / 292.4 MB, free: 13.14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.017, allocations: 4 kB / 292.4 MB, free: 13.14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.01719, allocations: 420 kB / 292.8 MB, free: 12.69 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.01741, allocations: 32.48 kB / 292.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007342/0.01815, allocations: 0.5183 MB / 293.4 MB, free: 12.11 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.743e-05/0.0182, allocations: 96.16 kB / 293.5 MB, free: 12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.018e-05/0.01828, allocations: 30.31 kB / 293.5 MB, free: 11.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.347e-05/0.01838, allocations: 106.2 kB / 293.6 MB, free: 11.86 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01838, allocations: 0 / 293.6 MB, free: 11.86 MB / 282.7 MB Notification: Performance of Templates: time 0.005347/0.02373, allocations: 3.104 MB / 296.7 MB, free: 8.816 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.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.724225322715938]