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.001242/0.001242, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001125/0.001125, allocations: 160.2 kB / 24.91 MB, free: 8.766 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.075/1.075, allocations: 177 MB / 205.2 MB, free: 5.047 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.332e-06/1.332e-06, allocations: 3.938 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169e-05/1.302e-05, allocations: 2.312 kB / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.003364/0.003378, allocations: 2.857 MB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.004599, allocations: 0.7979 MB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.004722, allocations: 8 kB / 277.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.004901, allocations: 63.44 kB / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.005116, allocations: 91.19 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.00532, allocations: 115.7 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.005638, allocations: 402.3 kB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.005803, allocations: 97.94 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003003/0.006103, allocations: 239.4 kB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.006258, allocations: 123.6 kB / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.988e-05/0.006298, allocations: 36 kB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.87e-05/0.006337, allocations: 32 kB / 278.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.884e-05/0.006385, allocations: 71.73 kB / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.889e-05/0.006484, allocations: 127.7 kB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.006735, allocations: 255 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.006737, allocations: 4 kB / 278.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.006738, allocations: 0 / 278.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.006742, allocations: 3.938 kB / 278.7 MB, free: 11.72 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.0006545/0.007396, allocations: 0.5388 MB / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.007429, allocations: 19.98 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.408e-05/0.007494, allocations: 48.89 kB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.007699, allocations: 190.1 kB / 279.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.007728, allocations: 25.03 kB / 279.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.007765, allocations: 28.38 kB / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.00804, allocations: 215.3 kB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.008051, allocations: 192 / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.00807, allocations: 16.38 kB / 279.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.008081, allocations: 11.94 kB / 279.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.008213, allocations: 80.55 kB / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009444/0.009157, allocations: 0.76 MB / 280.6 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.009294, allocations: 78.53 kB / 280.7 MB, free: 9.602 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.009337, allocations: 24.84 kB / 280.7 MB, free: 9.574 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.009355, allocations: 12 kB / 280.7 MB, free: 9.562 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.009375, allocations: 30.56 kB / 280.8 MB, free: 9.523 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.009376, allocations: 0 / 280.8 MB, free: 9.523 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008309/0.01021, allocations: 397.5 kB / 281.2 MB, free: 9.125 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.01023, allocations: 59.41 kB / 281.2 MB, free: 9.055 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.0104, allocations: 248.8 kB / 281.5 MB, free: 8.801 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.01041, allocations: 29.7 kB / 281.5 MB, free: 8.766 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.01e-05/0.0105, allocations: 219.8 kB / 281.7 MB, free: 8.547 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.61e-05/0.01055, allocations: 83.3 kB / 281.8 MB, free: 8.465 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.522e-05/0.01062, allocations: 61.64 kB / 281.8 MB, free: 8.398 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.285e-05/0.01071, allocations: 342.7 kB / 282.2 MB, free: 8.055 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.68e-05/0.01075, allocations: 27.98 kB / 282.2 MB, free: 8.027 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.01085, allocations: 124.2 kB / 282.3 MB, free: 7.859 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.01103, allocations: 185.1 kB / 282.5 MB, free: 7.637 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.01103, allocations: 4 kB / 282.5 MB, free: 7.633 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000279/0.01131, allocations: 233.2 kB / 282.7 MB, free: 7.395 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.01132, allocations: 11.98 kB / 282.8 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.01133, allocations: 4 kB / 282.8 MB, free: 7.379 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002652/0.01159, allocations: 74 kB / 282.8 MB, free: 7.301 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.01178, allocations: 67.91 kB / 282.9 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.01305, allocations: 2.369 MB / 285.3 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.01318, allocations: 19.92 kB / 285.3 MB, free: 4.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.0132, allocations: 12 kB / 285.3 MB, free: 4.656 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.918e-05/0.0133, allocations: 145.7 kB / 285.4 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.01334, allocations: 23.97 kB / 285.5 MB, free: 4.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.635e-05/0.01337, allocations: 26.28 kB / 285.5 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01337, allocations: 4 kB / 285.5 MB, free: 4.453 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.01338, allocations: 3.984 kB / 285.5 MB, free: 4.449 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01338, allocations: 3.938 kB / 285.5 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.01355, allocations: 149.8 kB / 285.6 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01356, allocations: 0 / 285.6 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.01366, allocations: 39.97 kB / 285.7 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001979/0.01386, allocations: 61.66 kB / 285.7 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.01387, allocations: 4 kB / 285.7 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.0149, allocations: 2.365 MB / 288.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.0149, allocations: 0 / 288.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.01511, allocations: 246.1 kB / 288.4 MB, free: 1.367 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.637e-05/0.01514, allocations: 27.81 kB / 288.4 MB, free: 1.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.01515, allocations: 4 kB / 288.4 MB, free: 1.336 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.01526, allocations: 7.984 kB / 288.4 MB, free: 1.328 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.0153, allocations: 31.95 kB / 288.4 MB, free: 1.297 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.01531, allocations: 8 kB / 288.4 MB, free: 1.289 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.882e-05/0.01538, allocations: 74.78 kB / 288.5 MB, free: 1.219 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01538, allocations: 0 / 288.5 MB, free: 1.219 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002919/0.01567, allocations: 76 kB / 288.6 MB, free: 1.145 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 6.949e-05/0.01574, allocations: 84.55 kB / 288.7 MB, free: 1.055 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003285/0.01607, allocations: 373.6 kB / 289 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.01608, allocations: 4 kB / 289 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.01627, allocations: 305.5 kB / 289.3 MB, free: 344 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.01647, allocations: 29.3 kB / 289.4 MB, free: 316 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09046/0.1069, allocations: 0.5036 MB / 289.9 MB, free: 25.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.805e-05/0.107, allocations: 95.31 kB / 290 MB, free: 25.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001062/0.1071, allocations: 24.44 kB / 290 MB, free: 25.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.758e-05/0.1072, allocations: 84.56 kB / 290.1 MB, free: 25.05 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1072, allocations: 1.312 kB / 290.1 MB, free: 25.05 MB / 266.7 MB Notification: Performance of Templates: time 0.004928/0.1121, allocations: 2.917 MB / 293 MB, free: 24.91 MB / 266.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 -s gbode -gbm=radauIIA3 -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.6760453986935318]