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.001243/0.001243, allocations: 90.19 kB / 17.31 MB, free: 5.59 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.001365/0.001365, allocations: 183.1 kB / 18.21 MB, free: 5.191 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.116/1.116, allocations: 223.3 MB / 242.3 MB, free: 14.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002188/0.0002188, allocations: 11.94 kB / 302.1 MB, free: 5.871 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07259/0.07283, allocations: 50.41 MB / 352.5 MB, free: 3.453 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.002436/0.07529, allocations: 2.498 MB / 355 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009927/0.0763, allocations: 0.7401 MB / 355.7 MB, free: 196 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.07645, allocations: 8 kB / 355.7 MB, free: 188 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001915/0.07665, allocations: 55.61 kB / 355.8 MB, free: 132 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.0769, allocations: 79.38 kB / 355.9 MB, free: 52 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.07714, allocations: 92 kB / 356 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003032/0.07745, allocations: 380.1 kB / 356.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.07762, allocations: 111.5 kB / 356.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.07783, allocations: 135.4 kB / 356.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.078, allocations: 155.2 kB / 356.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.07804, allocations: 24 kB / 356.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.961e-05/0.07809, allocations: 20 kB / 356.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.264e-05/0.07814, allocations: 55.7 kB / 356.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.07827, allocations: 184.8 kB / 357 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.07849, allocations: 295.4 kB / 357.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.0785, allocations: 0 / 357.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.07851, allocations: 0 / 357.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.07852, allocations: 0 / 357.3 MB, free: 14.62 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.0009334/0.07945, allocations: 0.607 MB / 357.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.07949, allocations: 11.97 kB / 357.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.294e-05/0.07956, allocations: 36.47 kB / 357.9 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.07982, allocations: 280.5 kB / 358.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.07985, allocations: 28.97 kB / 358.2 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.0799, allocations: 32.36 kB / 358.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005219/0.08043, allocations: 306.3 kB / 358.6 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.08045, allocations: 4 kB / 358.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.08048, allocations: 12 kB / 358.6 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.08049, allocations: 8 kB / 358.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005667/0.08107, allocations: 270.5 kB / 358.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.08249, allocations: 1.132 MB / 360 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.08283, allocations: 154.5 kB / 360.1 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.08302, allocations: 72.83 kB / 360.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.08306, allocations: 7.984 kB / 360.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.08308, allocations: 30.56 kB / 360.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.333e-06/0.08309, allocations: 0 / 360.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001925/0.08502, allocations: 0.6797 MB / 360.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.08506, allocations: 55.41 kB / 361 MB, free: 10.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.0853, allocations: 270.7 kB / 361.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.08533, allocations: 37.7 kB / 361.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.08544, allocations: 235.4 kB / 361.5 MB, free: 10.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.08549, allocations: 66.95 kB / 361.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.08554, allocations: 33.7 kB / 361.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.101e-05/0.08564, allocations: 342.8 kB / 362 MB, free: 9.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.08592, allocations: 103.9 kB / 362.1 MB, free: 9.578 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.08624, allocations: 211.9 kB / 362.3 MB, free: 9.324 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005699/0.08682, allocations: 330.1 kB / 362.6 MB, free: 8.961 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.08683, allocations: 3.938 kB / 362.6 MB, free: 8.957 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007591/0.08759, allocations: 421.2 kB / 363 MB, free: 8.535 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.08762, allocations: 7.938 kB / 363 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.08763, allocations: 4 kB / 363 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001959/0.08783, allocations: 57.67 kB / 363.1 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.08813, allocations: 83.89 kB / 363.2 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.08964, allocations: 2.632 MB / 365.8 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.08989, allocations: 28.11 kB / 365.8 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.08992, allocations: 16 kB / 365.8 MB, free: 5.438 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.0001203/0.09005, allocations: 152.3 kB / 366 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.0901, allocations: 35.55 kB / 366 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.829e-05/0.09016, allocations: 26.19 kB / 366 MB, free: 5.223 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.09017, allocations: 8 kB / 366 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.09018, allocations: 0 / 366 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.09019, allocations: 3.984 kB / 366 MB, free: 5.211 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.09048, allocations: 333.5 kB / 366.4 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.09049, allocations: 4 kB / 366.4 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.09068, allocations: 39.97 kB / 366.4 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000142/0.09083, allocations: 61.61 kB / 366.5 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.09086, allocations: 4 kB / 366.5 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.0923, allocations: 2.639 MB / 369.1 MB, free: 1.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.09231, allocations: 0 / 369.1 MB, free: 1.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006511/0.09297, allocations: 396.6 kB / 369.5 MB, free: 1.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.432e-05/0.09303, allocations: 104.8 kB / 369.6 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.09306, allocations: 0 / 369.6 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.09326, allocations: 27.98 kB / 369.6 MB, free: 1.262 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.09332, allocations: 19.97 kB / 369.7 MB, free: 1.242 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.09334, allocations: 4 kB / 369.7 MB, free: 1.238 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000155/0.0935, allocations: 194 kB / 369.8 MB, free: 1.047 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.362e-06/0.09351, allocations: 4 kB / 369.9 MB, free: 1.043 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003285/0.09384, allocations: 75.94 kB / 369.9 MB, free: 0.9688 MB / 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 8.428e-05/0.09393, allocations: 103.2 kB / 370 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007864/0.09472, allocations: 0.4978 MB / 370.5 MB, free: 344 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.09474, allocations: 4.062 kB / 370.5 MB, free: 340 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1205/0.2152, allocations: 352.8 kB / 370.9 MB, free: 24.22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.2157, allocations: 26.7 kB / 370.9 MB, free: 24.22 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.2167, allocations: 0.7433 MB / 371.6 MB, free: 23.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.2169, allocations: 0.7833 MB / 372.4 MB, free: 23.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.05e-05/0.217, allocations: 27.02 kB / 372.5 MB, free: 23.08 MB / 302.1 MB Notification: Performance of SimCode: time 7.31e-07/0.217, allocations: 0 / 372.5 MB, free: 23.08 MB / 302.1 MB Notification: Performance of Templates: time 0.007677/0.2247, allocations: 5.941 MB / 378.4 MB, free: 22.41 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 -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