Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 174.6 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 221.3 MB / 235.5 MB, free: 2.914 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008198/0.0008198, allocations: 89.73 kB / 286.5 MB, free: 216 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.963e-05/1.972e-05, allocations: 4 kB / 343.8 MB, free: 4.297 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08194/0.08198, allocations: 50.41 MB / 394.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3/0.382, allocations: 80.97 MB / 475.2 MB, free: 6.543 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.3822, allocations: 83.78 kB / 475.3 MB, free: 6.465 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02211/0.4044, allocations: 8.386 MB / 483.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4044, allocations: 0 / 483.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.4044, allocations: 11.94 kB / 483.7 MB, free: 14.05 MB / 362.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.0008246/0.4052, allocations: 0.5777 MB / 484.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.4053, allocations: 16.02 kB / 484.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.62e-05/0.4054, allocations: 35.53 kB / 484.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.4057, allocations: 268.2 kB / 484.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.4057, allocations: 32.77 kB / 484.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.439e-05/0.4058, allocations: 28 kB / 484.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004101/0.4062, allocations: 263.7 kB / 484.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.4062, allocations: 0 / 484.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.4062, allocations: 12 kB / 484.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.4062, allocations: 11.95 kB / 484.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003454/0.4066, allocations: 203.1 kB / 485.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.4082, allocations: 1.14 MB / 486.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.4084, allocations: 135.5 kB / 486.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.204e-05/0.4085, allocations: 52.86 kB / 486.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.4085, allocations: 0 / 486.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.4085, allocations: 38.56 kB / 486.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.042e-06/0.4085, allocations: 0 / 486.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001387/0.4099, allocations: 0.5087 MB / 487 MB, free: 10.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.41, allocations: 55.59 kB / 487 MB, free: 10.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.4102, allocations: 247 kB / 487.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.4102, allocations: 29.7 kB / 487.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.4104, allocations: 223.5 kB / 487.5 MB, free: 9.938 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.621e-05/0.4104, allocations: 78.89 kB / 487.6 MB, free: 9.859 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/0.4104, allocations: 8 kB / 487.6 MB, free: 9.852 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.4105, allocations: 339 kB / 487.9 MB, free: 9.512 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.4107, allocations: 68 kB / 488 MB, free: 9.445 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.4109, allocations: 176 kB / 488.2 MB, free: 9.227 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.411, allocations: 89.09 kB / 488.3 MB, free: 9.141 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.411, allocations: 0 / 488.3 MB, free: 9.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005027/0.4115, allocations: 345.2 kB / 488.6 MB, free: 8.793 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.4116, allocations: 8 kB / 488.6 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.4116, allocations: 8.391 kB / 488.6 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002065/0.4118, allocations: 57.69 kB / 488.7 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.4121, allocations: 83.84 kB / 488.8 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/0.4138, allocations: 2.636 MB / 491.4 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.414, allocations: 31.97 kB / 491.4 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.4141, allocations: 16.06 kB / 491.4 MB, free: 5.688 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 8.598e-05/0.4142, allocations: 120.9 kB / 491.6 MB, free: 5.562 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.4142, allocations: 27.72 kB / 491.6 MB, free: 5.535 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.028e-05/0.4143, allocations: 29.91 kB / 491.6 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.4143, allocations: 4 kB / 491.6 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.4143, allocations: 3.938 kB / 491.6 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4143, allocations: 0 / 491.6 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.4146, allocations: 337.6 kB / 492 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4147, allocations: 4 kB / 492 MB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.4149, allocations: 43.91 kB / 492 MB, free: 5.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001421/0.415, allocations: 57.67 kB / 492.1 MB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.415, allocations: 4 kB / 492.1 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/0.4166, allocations: 2.636 MB / 494.7 MB, free: 2.094 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4166, allocations: 0 / 494.7 MB, free: 2.094 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/0.417, allocations: 322.2 kB / 495 MB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/0.4171, allocations: 96.83 kB / 495.1 MB, free: 1.645 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.4171, allocations: 4 kB / 495.1 MB, free: 1.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.4173, allocations: 23.97 kB / 495.1 MB, free: 1.617 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.4174, allocations: 19.97 kB / 495.2 MB, free: 1.598 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.4174, allocations: 8 kB / 495.2 MB, free: 1.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001702/0.4176, allocations: 191.1 kB / 495.4 MB, free: 1.406 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4176, allocations: 0 / 495.4 MB, free: 1.406 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003284/0.4179, allocations: 76 kB / 495.4 MB, free: 1.332 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.0001296/0.418, allocations: 115.1 kB / 495.5 MB, free: 1.211 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005354/0.4186, allocations: 429 kB / 496 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4186, allocations: 0 / 496 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000304/0.4189, allocations: 318 kB / 496.3 MB, free: 440 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.4191, allocations: 29.12 kB / 496.3 MB, free: 412 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006287/0.4198, allocations: 340.9 kB / 496.6 MB, free: 56 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.4201, allocations: 0.787 MB / 497.4 MB, free: 15.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.4202, allocations: 30.05 kB / 497.4 MB, free: 15.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.667e-05/0.4203, allocations: 19.44 kB / 497.5 MB, free: 15.19 MB / 378.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4203, allocations: 8 kB / 497.5 MB, free: 15.18 MB / 378.7 MB Notification: Performance of Templates: time 0.00563/0.4259, allocations: 2.575 MB / 0.4883 GB, free: 12.66 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches