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.00158/0.00158, allocations: 176.4 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 221.5 MB / 230.3 MB, free: 7.559 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.000803/0.000803, allocations: 85.69 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.05e-05/2.052e-05, allocations: 4 kB / 337 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1352, allocations: 50.43 MB / 387.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4377/0.5729, allocations: 80.31 MB / 467.8 MB, free: 14.51 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.5732, allocations: 79.95 kB / 467.9 MB, free: 14.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02244/0.5957, allocations: 8.315 MB / 476.2 MB, free: 6.094 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5957, allocations: 4 kB / 476.2 MB, free: 6.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.5957, allocations: 8 kB / 476.2 MB, free: 6.082 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.0008814/0.5966, allocations: 0.5816 MB / 476.8 MB, free: 5.457 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.5967, allocations: 8.031 kB / 476.8 MB, free: 5.449 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.184e-05/0.5967, allocations: 39.53 kB / 476.8 MB, free: 5.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.5971, allocations: 264.3 kB / 477.1 MB, free: 5.109 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.5971, allocations: 12 kB / 477.1 MB, free: 5.098 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.5972, allocations: 16 kB / 477.1 MB, free: 5.082 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003459/0.5975, allocations: 193.5 kB / 477.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/0.5979, allocations: 214.2 kB / 477.5 MB, free: 4.676 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.598, allocations: 7.938 kB / 477.5 MB, free: 4.668 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.598, allocations: 3.953 kB / 477.5 MB, free: 4.664 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.598, allocations: 8 kB / 477.5 MB, free: 4.656 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.5996, allocations: 1.077 MB / 478.6 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.5998, allocations: 114.7 kB / 478.7 MB, free: 3.371 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.218e-05/0.5999, allocations: 46.42 kB / 478.8 MB, free: 3.324 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.6, allocations: 7.906 kB / 478.8 MB, free: 3.316 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.6, allocations: 38.5 kB / 478.8 MB, free: 3.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.924e-06/0.6, allocations: 0 / 478.8 MB, free: 3.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009388/0.601, allocations: 381.2 kB / 479.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.601, allocations: 55.59 kB / 479.2 MB, free: 2.816 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.6012, allocations: 226.2 kB / 479.4 MB, free: 2.586 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.6013, allocations: 29.7 kB / 479.5 MB, free: 2.551 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.6014, allocations: 227.8 kB / 479.7 MB, free: 2.324 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/0.6015, allocations: 70.92 kB / 479.8 MB, free: 2.254 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.264e-05/0.6015, allocations: 0 / 479.8 MB, free: 2.254 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.6016, allocations: 334.8 kB / 480.1 MB, free: 1.918 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.6017, allocations: 67.94 kB / 480.2 MB, free: 1.852 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.6019, allocations: 160.2 kB / 480.3 MB, free: 1.648 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.6021, allocations: 81.08 kB / 480.4 MB, free: 1.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6021, allocations: 0 / 480.4 MB, free: 1.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004685/0.6025, allocations: 301.3 kB / 480.7 MB, free: 1.266 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.6026, allocations: 4 kB / 480.7 MB, free: 1.262 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.6026, allocations: 4 kB / 480.7 MB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002367/0.6028, allocations: 62.08 kB / 480.8 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/0.6032, allocations: 83.89 kB / 480.8 MB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.6051, allocations: 2.537 MB / 483.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/0.6054, allocations: 23.94 kB / 483.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.6055, allocations: 19.98 kB / 483.4 MB, free: 14.29 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 0.0001119/0.6056, allocations: 112.9 kB / 483.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.245e-05/0.6056, allocations: 27.62 kB / 483.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.407e-05/0.6057, allocations: 30.14 kB / 483.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.6057, allocations: 3.984 kB / 483.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.6057, allocations: 4 kB / 483.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.6057, allocations: 0 / 483.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/0.6061, allocations: 282.2 kB / 483.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.6061, allocations: 0 / 483.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.6063, allocations: 51.91 kB / 483.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001674/0.6065, allocations: 53.67 kB / 484 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.6065, allocations: 4 kB / 484 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/0.6083, allocations: 2.517 MB / 486.5 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6083, allocations: 0 / 486.5 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004272/0.6087, allocations: 306.2 kB / 486.8 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.803e-05/0.6088, allocations: 104.7 kB / 486.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.6089, allocations: 0 / 486.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.6091, allocations: 23.92 kB / 486.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.459e-05/0.6092, allocations: 15.97 kB / 486.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.6092, allocations: 12 kB / 486.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001805/0.6094, allocations: 174 kB / 487.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6094, allocations: 4 kB / 487.1 MB, free: 10.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004163/0.6098, allocations: 60 kB / 487.2 MB, free: 10.22 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.0001954/0.61, allocations: 111.1 kB / 487.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006311/0.6107, allocations: 417.9 kB / 487.7 MB, free: 9.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6107, allocations: 0 / 487.7 MB, free: 9.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003248/0.611, allocations: 296.3 kB / 488 MB, free: 9.371 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.6113, allocations: 30.84 kB / 488 MB, free: 9.344 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008293/0.6122, allocations: 325.3 kB / 488.3 MB, free: 9.004 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/0.6126, allocations: 0.7833 MB / 489.1 MB, free: 8.191 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.6128, allocations: 30.09 kB / 489.1 MB, free: 8.156 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.21e-05/0.6128, allocations: 19.44 kB / 489.2 MB, free: 8.141 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6129, allocations: 0 / 489.2 MB, free: 8.141 MB / 362.7 MB Notification: Performance of Templates: time 0.006358/0.6192, allocations: 2.38 MB / 491.5 MB, free: 5.801 MB / 362.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