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.0011/0.0011, allocations: 186.5 kB / 17.27 MB, free: 4.504 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.286/1.286, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 112.6 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008347/0.0008348, allocations: 35.94 kB / 350 MB, free: 56 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2428, allocations: 49.44 MB / 399.5 MB, free: 33.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003391/0.2462, allocations: 2.864 MB / 402.3 MB, free: 30.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.2473, allocations: 0.7335 MB / 403.1 MB, free: 29.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.2475, allocations: 4 kB / 403.1 MB, free: 29.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.2478, allocations: 51.62 kB / 403.1 MB, free: 29.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.2481, allocations: 79.42 kB / 403.2 MB, free: 29.6 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.2483, allocations: 99.91 kB / 403.3 MB, free: 29.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.2486, allocations: 394.3 kB / 403.7 MB, free: 29.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.2488, allocations: 107.5 kB / 403.8 MB, free: 29.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.249, allocations: 151.4 kB / 403.9 MB, free: 28.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.2491, allocations: 167.2 kB / 404.1 MB, free: 28.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.288e-05/0.2492, allocations: 20 kB / 404.1 MB, free: 28.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.398e-05/0.2492, allocations: 24 kB / 404.1 MB, free: 28.65 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.815e-05/0.2493, allocations: 67.75 kB / 404.2 MB, free: 28.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.2494, allocations: 163.1 kB / 404.4 MB, free: 28.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.2496, allocations: 392.1 kB / 404.8 MB, free: 28.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.2497, allocations: 0 / 404.8 MB, free: 28.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2497, allocations: 0 / 404.8 MB, free: 28.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.2497, allocations: 0 / 404.8 MB, free: 28.04 MB / 298.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.00105/0.2507, allocations: 0.6557 MB / 405.4 MB, free: 27.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.2508, allocations: 8.031 kB / 405.4 MB, free: 27.33 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.253e-05/0.2509, allocations: 44.47 kB / 405.5 MB, free: 27.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.2511, allocations: 268.6 kB / 405.7 MB, free: 26.99 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.2512, allocations: 29.03 kB / 405.8 MB, free: 26.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.184e-05/0.2512, allocations: 32.38 kB / 405.8 MB, free: 26.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004798/0.2517, allocations: 294.3 kB / 406.1 MB, free: 26.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.2517, allocations: 0 / 406.1 MB, free: 26.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.2518, allocations: 8 kB / 406.1 MB, free: 26.63 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.2518, allocations: 8 kB / 406.1 MB, free: 26.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005357/0.2523, allocations: 254.5 kB / 406.3 MB, free: 26.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.2536, allocations: 1.12 MB / 407.5 MB, free: 25.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.254, allocations: 164.7 kB / 407.6 MB, free: 24.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.2542, allocations: 64.81 kB / 407.7 MB, free: 24.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.2542, allocations: 3.906 kB / 407.7 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/0.2542, allocations: 38.56 kB / 407.7 MB, free: 24.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.2542, allocations: 4 kB / 407.7 MB, free: 24.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001802/0.256, allocations: 0.5859 MB / 408.3 MB, free: 24.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.2561, allocations: 51.41 kB / 408.4 MB, free: 24.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.2563, allocations: 286.5 kB / 408.6 MB, free: 23.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.2563, allocations: 25.7 kB / 408.7 MB, free: 23.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.904e-05/0.2564, allocations: 231.5 kB / 408.9 MB, free: 23.65 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.2564, allocations: 78.91 kB / 409 MB, free: 23.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.864e-05/0.2565, allocations: 61.61 kB / 409 MB, free: 23.51 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.125e-05/0.2566, allocations: 334.8 kB / 409.4 MB, free: 23.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.2568, allocations: 99.94 kB / 409.5 MB, free: 23.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.2571, allocations: 195.9 kB / 409.6 MB, free: 22.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005078/0.2576, allocations: 306.8 kB / 409.9 MB, free: 22.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2577, allocations: 0 / 409.9 MB, free: 22.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007113/0.2584, allocations: 397.2 kB / 410.3 MB, free: 22.1 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2584, allocations: 11.98 kB / 410.3 MB, free: 22.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.2584, allocations: 7.922 kB / 410.4 MB, free: 22.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002292/0.2586, allocations: 61.72 kB / 410.4 MB, free: 22.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.2589, allocations: 79.81 kB / 410.5 MB, free: 21.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.2603, allocations: 2.621 MB / 413.1 MB, free: 19.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.2605, allocations: 36.02 kB / 413.1 MB, free: 19.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.2605, allocations: 15.98 kB / 413.2 MB, free: 19 MB / 298.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 () * 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.0001149/0.2607, allocations: 153.7 kB / 413.3 MB, free: 18.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.233e-05/0.2607, allocations: 27.66 kB / 413.3 MB, free: 18.81 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.931e-05/0.2608, allocations: 30.17 kB / 413.4 MB, free: 18.78 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2608, allocations: 4 kB / 413.4 MB, free: 18.78 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2608, allocations: 4 kB / 413.4 MB, free: 18.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2608, allocations: 0 / 413.4 MB, free: 18.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.2611, allocations: 337.5 kB / 413.7 MB, free: 18.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2611, allocations: 0 / 413.7 MB, free: 18.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.2613, allocations: 35.97 kB / 413.7 MB, free: 18.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001291/0.2614, allocations: 65.69 kB / 413.8 MB, free: 18.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.2614, allocations: 7.984 kB / 413.8 MB, free: 18.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.2625, allocations: 2.624 MB / 416.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2626, allocations: 0 / 416.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009337/0.2635, allocations: 1.045 MB / 417.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.2635, allocations: 100.7 kB / 417.6 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.2636, allocations: 8 kB / 417.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.2638, allocations: 15.97 kB / 417.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.2639, allocations: 23.91 kB / 417.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.2639, allocations: 4 kB / 417.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001342/0.264, allocations: 194 kB / 417.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.264, allocations: 4 kB / 417.8 MB, free: 13.92 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004504/0.2645, allocations: 79.98 kB / 417.9 MB, free: 13.84 MB / 298.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 () * 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.0001079/0.2646, allocations: 105.4 kB / 418 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007696/0.2654, allocations: 477.3 kB / 418.5 MB, free: 13.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2654, allocations: 0 / 418.5 MB, free: 13.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003854/0.2658, allocations: 357.9 kB / 418.8 MB, free: 12.87 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.2661, allocations: 28.55 kB / 418.8 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009797/0.2671, allocations: 0.8427 MB / 419.7 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.2673, allocations: 0.7791 MB / 420.5 MB, free: 11.15 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.2675, allocations: 30.28 kB / 420.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/0.2675, allocations: 23.38 kB / 420.5 MB, free: 11.1 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2675, allocations: 0 / 420.5 MB, free: 11.1 MB / 298.7 MB Notification: Performance of Templates: time 0.005482/0.273, allocations: 2.707 MB / 423.2 MB, free: 8.434 MB / 298.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@2/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