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.001553/0.001553, allocations: 113.8 kB / 17.06 MB, free: 5.965 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.001744/0.001744, allocations: 198.8 kB / 18.01 MB, free: 5.047 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.333/1.333, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009236/0.0009236, allocations: 47.92 kB / 351.3 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2534, allocations: 49.43 MB / 400.7 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003679/0.2572, allocations: 2.843 MB / 403.6 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.2583, allocations: 0.7439 MB / 404.3 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.2584, allocations: 4 kB / 404.3 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.2586, allocations: 67.38 kB / 404.4 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.2589, allocations: 99.16 kB / 404.5 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.2591, allocations: 111.8 kB / 404.6 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000337/0.2595, allocations: 398.4 kB / 405 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.2597, allocations: 130.9 kB / 405.1 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002379/0.2599, allocations: 155.4 kB / 405.2 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.2601, allocations: 175.2 kB / 405.4 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.969e-05/0.2602, allocations: 32 kB / 405.5 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.388e-05/0.2602, allocations: 39.94 kB / 405.5 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.479e-05/0.2603, allocations: 75.75 kB / 405.6 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.2605, allocations: 171.1 kB / 405.7 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000372/0.2609, allocations: 402.1 kB / 406.1 MB, free: 3.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2609, allocations: 8 kB / 406.1 MB, free: 3.422 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2609, allocations: 0 / 406.1 MB, free: 3.422 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.2609, allocations: 0 / 406.1 MB, free: 3.422 MB / 318.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.001076/0.262, allocations: 0.673 MB / 406.8 MB, free: 2.703 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.262, allocations: 8.031 kB / 406.8 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.721e-05/0.2621, allocations: 40.69 kB / 406.9 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.2624, allocations: 277.3 kB / 407.1 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.2625, allocations: 21.03 kB / 407.1 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.475e-05/0.2625, allocations: 32.38 kB / 407.2 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005577/0.2631, allocations: 290.3 kB / 407.5 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.2631, allocations: 7.938 kB / 407.5 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.2632, allocations: 16 kB / 407.5 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.2632, allocations: 8 kB / 407.5 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005813/0.2638, allocations: 250.5 kB / 407.7 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.2653, allocations: 1.124 MB / 408.9 MB, free: 0.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.2656, allocations: 150.5 kB / 409 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.2658, allocations: 68.83 kB / 409.1 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.2659, allocations: 3.984 kB / 409.1 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.2659, allocations: 38.56 kB / 409.1 MB, free: 228 kB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.213e-06/0.2659, allocations: 0 / 409.1 MB, free: 228 kB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001928/0.2678, allocations: 0.5864 MB / 409.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.2679, allocations: 59.41 kB / 409.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.2682, allocations: 282.5 kB / 410 MB, free: 15.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.2682, allocations: 25.7 kB / 410.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.2683, allocations: 240 kB / 410.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.416e-05/0.2684, allocations: 79.33 kB / 410.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.2685, allocations: 69.64 kB / 410.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.2686, allocations: 334.8 kB / 410.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.2689, allocations: 95.94 kB / 410.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.2692, allocations: 199.9 kB / 411.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.2698, allocations: 301.8 kB / 411.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2698, allocations: 0 / 411.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008234/0.2707, allocations: 401 kB / 411.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2707, allocations: 8 kB / 411.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.2707, allocations: 416 / 411.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002309/0.271, allocations: 65.67 kB / 411.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.2713, allocations: 75.83 kB / 411.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.2732, allocations: 2.848 MB / 414.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.2735, allocations: 15.98 kB / 414.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.2735, allocations: 20.06 kB / 414.8 MB, free: 10.12 MB / 334.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.0001342/0.2737, allocations: 151.6 kB / 414.9 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.2737, allocations: 23.86 kB / 414.9 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.958e-05/0.2738, allocations: 30.17 kB / 415 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2738, allocations: 4 kB / 415 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2738, allocations: 0 / 415 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.2738, allocations: 3.984 kB / 415 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/0.2742, allocations: 341.4 kB / 415.3 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2742, allocations: 3.984 kB / 415.3 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.2744, allocations: 39.97 kB / 415.4 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001546/0.2746, allocations: 61.61 kB / 415.4 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.2746, allocations: 0 / 415.4 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.2764, allocations: 2.833 MB / 418.2 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2764, allocations: 7.969 kB / 418.3 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006649/0.2771, allocations: 372.8 kB / 418.6 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-05/0.2772, allocations: 112.9 kB / 418.7 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.2772, allocations: 0 / 418.7 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.2774, allocations: 23.91 kB / 418.8 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.2775, allocations: 15.98 kB / 418.8 MB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.2775, allocations: 7.984 kB / 418.8 MB, free: 5.727 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001835/0.2777, allocations: 194 kB / 419 MB, free: 5.539 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2777, allocations: 0 / 419 MB, free: 5.539 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003507/0.2781, allocations: 72 kB / 419 MB, free: 5.469 MB / 334.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.0001284/0.2782, allocations: 111.2 kB / 419.1 MB, free: 5.352 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008888/0.2791, allocations: 486.8 kB / 419.6 MB, free: 4.852 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2791, allocations: 0 / 419.6 MB, free: 4.852 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004878/0.2796, allocations: 346 kB / 420 MB, free: 4.488 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.2799, allocations: 32.53 kB / 420 MB, free: 4.457 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.281, allocations: 0.5565 MB / 420.5 MB, free: 3.871 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.2813, allocations: 0.7792 MB / 421.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.2814, allocations: 22.3 kB / 421.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.317e-05/0.2815, allocations: 27.42 kB / 421.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2815, allocations: 0 / 421.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of Templates: time 0.006262/0.2878, allocations: 2.824 MB / 424.2 MB, free: 240 kB / 334.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/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