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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009956/0.0009956, allocations: 102.7 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.685e-05/1.697e-05, allocations: 4 kB / 343.7 MB, free: 8.254 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09391/0.09394, allocations: 51.48 MB / 395.2 MB, free: 4.734 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3034/0.3973, allocations: 81.16 MB / 476.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.3976, allocations: 83.28 kB / 476.4 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01984/0.4175, allocations: 8.43 MB / 484.8 MB, free: 5.027 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4175, allocations: 0 / 484.8 MB, free: 5.027 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.4175, allocations: 7.938 kB / 484.8 MB, free: 5.02 MB / 346.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.0007379/0.4183, allocations: 0.584 MB / 485.4 MB, free: 4.418 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.4183, allocations: 8.031 kB / 485.4 MB, free: 4.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.919e-05/0.4184, allocations: 39.53 kB / 485.5 MB, free: 4.371 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.4187, allocations: 268.3 kB / 485.7 MB, free: 4.094 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.4187, allocations: 12 kB / 485.8 MB, free: 4.082 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.4187, allocations: 20 kB / 485.8 MB, free: 4.062 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002961/0.419, allocations: 193.5 kB / 486 MB, free: 3.949 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.4194, allocations: 220.4 kB / 486.2 MB, free: 3.777 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.4194, allocations: 0.8438 kB / 486.2 MB, free: 3.777 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.4194, allocations: 0 / 486.2 MB, free: 3.777 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.4194, allocations: 8 kB / 486.2 MB, free: 3.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.4208, allocations: 1.069 MB / 487.3 MB, free: 2.789 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.421, allocations: 116.5 kB / 487.4 MB, free: 2.703 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.047e-05/0.4211, allocations: 54.72 kB / 487.4 MB, free: 2.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.4211, allocations: 4 kB / 487.4 MB, free: 2.656 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.4211, allocations: 37.25 kB / 487.5 MB, free: 2.617 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/0.4212, allocations: 0 / 487.5 MB, free: 2.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008229/0.422, allocations: 382.2 kB / 487.8 MB, free: 2.289 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.572e-05/0.422, allocations: 51.59 kB / 487.9 MB, free: 2.227 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.4222, allocations: 237.2 kB / 488.1 MB, free: 2.031 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.4222, allocations: 29.7 kB / 488.1 MB, free: 1.996 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/0.4223, allocations: 234 kB / 488.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.4224, allocations: 69.56 kB / 488.4 MB, free: 1.742 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/0.4224, allocations: 3.938 kB / 488.4 MB, free: 1.738 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.22e-05/0.4224, allocations: 345.5 kB / 488.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.159e-05/0.4225, allocations: 60.34 kB / 488.8 MB, free: 1.371 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.4226, allocations: 151.9 kB / 489 MB, free: 1.207 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.4228, allocations: 85.83 kB / 489.1 MB, free: 1.152 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.4228, allocations: 4 kB / 489.1 MB, free: 1.148 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003841/0.4232, allocations: 306.2 kB / 489.4 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.4232, allocations: 7.953 kB / 489.4 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4232, allocations: 4.406 kB / 489.4 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002055/0.4234, allocations: 60.61 kB / 489.4 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003052/0.4237, allocations: 83.33 kB / 489.5 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.4253, allocations: 2.52 MB / 492 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.4256, allocations: 19.98 kB / 492.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.4256, allocations: 19.25 kB / 492.1 MB, free: 14.06 MB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.073e-05/0.4257, allocations: 113 kB / 492.2 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.4258, allocations: 28.19 kB / 492.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.578e-05/0.4258, allocations: 32.53 kB / 492.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.4259, allocations: 4 kB / 492.3 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4259, allocations: 0 / 492.3 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.4259, allocations: 3.984 kB / 492.3 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.4262, allocations: 282.2 kB / 492.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4262, allocations: 4 kB / 492.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.4264, allocations: 43.91 kB / 492.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001389/0.4265, allocations: 60.62 kB / 492.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.4266, allocations: 7.984 kB / 492.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/0.4281, allocations: 2.518 MB / 495.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.4281, allocations: 3.953 kB / 495.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.4285, allocations: 306.7 kB / 495.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/0.4285, allocations: 101 kB / 495.6 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.4286, allocations: 4 kB / 495.6 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.4288, allocations: 15.98 kB / 495.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.4288, allocations: 23.03 kB / 495.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.4289, allocations: 4 kB / 495.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001435/0.429, allocations: 181.9 kB / 495.8 MB, free: 10.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.363e-06/0.429, allocations: 0 / 495.8 MB, free: 10.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003725/0.4294, allocations: 69.62 kB / 495.9 MB, free: 10.25 MB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001311/0.4295, allocations: 107.2 kB / 496 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005241/0.4301, allocations: 404.3 kB / 496.4 MB, free: 9.777 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4301, allocations: 0 / 496.4 MB, free: 9.777 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002979/0.4304, allocations: 298.4 kB / 496.7 MB, free: 9.496 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.4306, allocations: 25.58 kB / 496.7 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006567/0.4313, allocations: 329.6 kB / 497 MB, free: 9.168 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.4316, allocations: 0.7796 MB / 497.8 MB, free: 8.363 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001315/0.4318, allocations: 30.06 kB / 497.8 MB, free: 8.328 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.618e-05/0.4318, allocations: 19.44 kB / 497.8 MB, free: 8.309 MB / 362.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4318, allocations: 4 kB / 497.8 MB, free: 8.305 MB / 362.7 MB Notification: Performance of Templates: time 0.005334/0.4372, allocations: 2.37 MB / 0.4885 GB, free: 6.008 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches