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.00144/0.00144, allocations: 81.81 kB / 21.42 MB, free: 3.066 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.001085/0.001085, allocations: 164.4 kB / 24.82 MB, free: 9.258 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 1.065/1.065, allocations: 177 MB / 205.1 MB, free: 5.457 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.383e-06/1.383e-06, allocations: 0 / 273.3 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106e-05/1.244e-05, allocations: 2.312 kB / 273.3 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.00306/0.003073, allocations: 2.799 MB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.004129, allocations: 0.7709 MB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.004253, allocations: 8 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.004423, allocations: 63.44 kB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.00463, allocations: 103.1 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.004816, allocations: 107.7 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.005117, allocations: 406.4 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.005276, allocations: 87.34 kB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000312/0.005588, allocations: 243.4 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.005726, allocations: 123.6 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.933e-05/0.005765, allocations: 32 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.532e-05/0.005801, allocations: 32 kB / 278.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.911e-05/0.00585, allocations: 83.66 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.215e-05/0.005942, allocations: 123.7 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.006165, allocations: 255 kB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.006167, allocations: 0 / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.006167, allocations: 4 kB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.006172, allocations: 0 / 278.5 MB, free: 11.96 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.0006483/0.00682, allocations: 0.6634 MB / 279.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.006854, allocations: 15.92 kB / 279.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.105e-05/0.006935, allocations: 68.7 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.007129, allocations: 220.9 kB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.007154, allocations: 21.03 kB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.007187, allocations: 32.38 kB / 279.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.007433, allocations: 211.3 kB / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.007442, allocations: 192 / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.007459, allocations: 12.38 kB / 279.8 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.007469, allocations: 11.94 kB / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.007588, allocations: 96.5 kB / 279.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009401/0.008528, allocations: 0.9211 MB / 280.8 MB, free: 9.555 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.008668, allocations: 91.05 kB / 280.9 MB, free: 9.453 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/0.008707, allocations: 30.8 kB / 280.9 MB, free: 9.422 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.008728, allocations: 15.89 kB / 280.9 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.008748, allocations: 37.39 kB / 281 MB, free: 9.359 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.00875, allocations: 0 / 281 MB, free: 9.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006571/0.009407, allocations: 356.2 kB / 281.3 MB, free: 8.996 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.009433, allocations: 59.34 kB / 281.4 MB, free: 8.926 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.009598, allocations: 324 kB / 281.7 MB, free: 8.594 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.009612, allocations: 29.7 kB / 281.7 MB, free: 8.559 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.009725, allocations: 274.8 kB / 282 MB, free: 8.285 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.009762, allocations: 79.31 kB / 282.1 MB, free: 8.207 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.285e-05/0.009835, allocations: 71.28 kB / 282.1 MB, free: 8.129 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.009963, allocations: 0.5156 MB / 282.6 MB, free: 7.602 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.451e-05/0.01001, allocations: 27.97 kB / 282.7 MB, free: 7.574 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.01011, allocations: 167.7 kB / 282.8 MB, free: 7.352 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.01028, allocations: 224.8 kB / 283.1 MB, free: 7.074 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01028, allocations: 4 kB / 283.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002697/0.01055, allocations: 290.5 kB / 283.3 MB, free: 6.773 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.01056, allocations: 4 kB / 283.3 MB, free: 6.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.01057, allocations: 4 kB / 283.4 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002403/0.01081, allocations: 75.7 kB / 283.4 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.01095, allocations: 67.91 kB / 283.5 MB, free: 6.617 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/0.01244, allocations: 3.49 MB / 287 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.01261, allocations: 15.98 kB / 287 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.01263, allocations: 12 kB / 287 MB, free: 2.871 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.0001266/0.01276, allocations: 176.5 kB / 287.2 MB, free: 2.688 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.967e-05/0.01282, allocations: 43.81 kB / 287.2 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.587e-05/0.01286, allocations: 30.27 kB / 287.3 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.01287, allocations: 4 kB / 287.3 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.01287, allocations: 3.938 kB / 287.3 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.01288, allocations: 3.984 kB / 287.3 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.01312, allocations: 181.1 kB / 287.4 MB, free: 2.398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.01312, allocations: 0 / 287.4 MB, free: 2.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.01324, allocations: 31.98 kB / 287.5 MB, free: 2.367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002698/0.01351, allocations: 79.42 kB / 287.6 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.01352, allocations: 4 kB / 287.6 MB, free: 2.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/0.01533, allocations: 3.49 MB / 291 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.01533, allocations: 0 / 291 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.01566, allocations: 322.9 kB / 291.4 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.01569, allocations: 23.8 kB / 291.4 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.01572, allocations: 8 kB / 291.4 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.01585, allocations: 15.86 kB / 291.4 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.0159, allocations: 23.91 kB / 291.4 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.01591, allocations: 8.062 kB / 291.4 MB, free: 14.13 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001296/0.01604, allocations: 201.1 kB / 291.6 MB, free: 13.94 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01604, allocations: 0 / 291.6 MB, free: 13.94 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004199/0.01646, allocations: 72 kB / 291.7 MB, free: 13.87 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.961e-05/0.01655, allocations: 99.25 kB / 291.8 MB, free: 13.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004327/0.01699, allocations: 494.2 kB / 292.3 MB, free: 13.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.01699, allocations: 0 / 292.3 MB, free: 13.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.01719, allocations: 415.2 kB / 292.7 MB, free: 12.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.0174, allocations: 28.44 kB / 292.7 MB, free: 12.78 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007108/0.01811, allocations: 0.5151 MB / 293.2 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.447e-05/0.01816, allocations: 96.17 kB / 293.3 MB, free: 12.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.467e-05/0.01824, allocations: 30.31 kB / 293.4 MB, free: 12.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.182e-05/0.01833, allocations: 106.2 kB / 293.5 MB, free: 11.98 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01833, allocations: 0 / 293.5 MB, free: 11.98 MB / 282.7 MB Notification: Performance of Templates: time 0.004897/0.02323, allocations: 3.014 MB / 296.5 MB, free: 9.004 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.82116452883929]