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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 112.4 kB / 17.68 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 190.9 kB / 18.62 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 51.23 kB / 302.1 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.103, allocations: 49.43 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004158/0.1072, allocations: 2.831 MB / 354.3 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.1083, allocations: 0.7516 MB / 355.1 MB, free: 104 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.1085, allocations: 4 kB / 355.1 MB, free: 100 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002039/0.1087, allocations: 67.38 kB / 355.1 MB, free: 32 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.1089, allocations: 99.17 kB / 355.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.1092, allocations: 103.9 kB / 355.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003596/0.1095, allocations: 402.3 kB / 355.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002197/0.1098, allocations: 134.8 kB / 355.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.11, allocations: 159.4 kB / 356 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.1102, allocations: 171.2 kB / 356.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.068e-05/0.1103, allocations: 32 kB / 356.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.311e-05/0.1103, allocations: 32 kB / 356.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.687e-05/0.1104, allocations: 83.67 kB / 356.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.1106, allocations: 175.1 kB / 356.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.1109, allocations: 402.5 kB / 356.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1109, allocations: 4 kB / 356.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1109, allocations: 0 / 356.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.1109, allocations: 0 / 356.9 MB, free: 14.27 MB / 302.1 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.001146/0.1121, allocations: 0.647 MB / 357.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1121, allocations: 8.031 kB / 357.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.109e-05/0.1122, allocations: 40.47 kB / 357.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.1126, allocations: 276.6 kB / 357.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.1126, allocations: 25.03 kB / 357.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.933e-05/0.1126, allocations: 32.31 kB / 357.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005518/0.1132, allocations: 294.3 kB / 358.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1132, allocations: 4 kB / 358.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.1133, allocations: 19.98 kB / 358.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.1133, allocations: 8 kB / 358.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005869/0.1139, allocations: 250.5 kB / 358.5 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.1155, allocations: 1.108 MB / 359.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.1159, allocations: 154.4 kB / 359.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.1161, allocations: 68.83 kB / 359.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.1161, allocations: 4 kB / 359.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.1161, allocations: 34.55 kB / 359.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.482e-06/0.1161, allocations: 0 / 359.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001981/0.1181, allocations: 0.5938 MB / 360.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.1182, allocations: 55.41 kB / 360.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.1184, allocations: 274.6 kB / 360.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.1185, allocations: 33.7 kB / 360.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.1187, allocations: 231.5 kB / 361 MB, free: 9.883 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.192e-05/0.1187, allocations: 70.86 kB / 361.1 MB, free: 9.812 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.635e-05/0.1188, allocations: 77.59 kB / 361.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1189, allocations: 334.8 kB / 361.5 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.1192, allocations: 95.94 kB / 361.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.1196, allocations: 207.7 kB / 361.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005744/0.1201, allocations: 295 kB / 362.1 MB, free: 8.723 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.1202, allocations: 8 kB / 362.1 MB, free: 8.715 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008111/0.121, allocations: 396.8 kB / 362.5 MB, free: 8.316 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.121, allocations: 8.406 kB / 362.5 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.121, allocations: 8 kB / 362.5 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000229/0.1212, allocations: 57.67 kB / 362.6 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.1216, allocations: 79.83 kB / 362.6 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/0.1237, allocations: 2.837 MB / 365.5 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.124, allocations: 24.05 kB / 365.5 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.124, allocations: 19.98 kB / 365.5 MB, free: 4.996 MB / 302.1 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.0001684/0.1242, allocations: 145.7 kB / 365.7 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.1243, allocations: 23.72 kB / 365.7 MB, free: 4.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.348e-05/0.1243, allocations: 34.17 kB / 365.7 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1244, allocations: 4 kB / 365.7 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1244, allocations: 0 / 365.7 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1244, allocations: 7.984 kB / 365.7 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.1248, allocations: 329.4 kB / 366 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1248, allocations: 4 kB / 366 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.125, allocations: 39.95 kB / 366.1 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001616/0.1252, allocations: 65.61 kB / 366.1 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.1252, allocations: 7.938 kB / 366.2 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/0.1272, allocations: 2.829 MB / 369 MB, free: 1.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1272, allocations: 0 / 369 MB, free: 1.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006695/0.1279, allocations: 378.4 kB / 369.4 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/0.128, allocations: 100.7 kB / 369.5 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.128, allocations: 4 kB / 369.5 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.1282, allocations: 19.97 kB / 369.5 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.1283, allocations: 23.92 kB / 369.5 MB, free: 0.625 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.1283, allocations: 4 kB / 369.5 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000178/0.1285, allocations: 194 kB / 369.7 MB, free: 440 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1285, allocations: 0 / 369.7 MB, free: 440 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003717/0.1289, allocations: 80 kB / 369.8 MB, free: 360 kB / 302.1 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 0.0001022/0.129, allocations: 103.2 kB / 369.9 MB, free: 248 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1414/0.2704, allocations: 474.2 kB / 370.3 MB, free: 25.33 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-05/0.2704, allocations: 0 / 370.3 MB, free: 25.33 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005164/0.271, allocations: 349.2 kB / 370.7 MB, free: 25.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.2714, allocations: 24.53 kB / 370.7 MB, free: 25.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.2725, allocations: 0.5516 MB / 371.3 MB, free: 24.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.2727, allocations: 0.7729 MB / 372 MB, free: 24.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.2729, allocations: 32.91 kB / 372.1 MB, free: 24.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.405e-05/0.2729, allocations: 24.53 kB / 372.1 MB, free: 24.14 MB / 302.1 MB Notification: Performance of SimCode: time 1.012e-06/0.2729, allocations: 0 / 372.1 MB, free: 24.14 MB / 302.1 MB Notification: Performance of Templates: time 0.006913/0.2798, allocations: 2.77 MB / 374.9 MB, free: 24.11 MB / 302.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches