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.001474/0.001474, allocations: 102.5 kB / 17.05 MB, free: 6.125 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.001553/0.001553, allocations: 194.9 kB / 18 MB, free: 5.199 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.356/1.356, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009506/0.0009506, allocations: 44.08 kB / 351.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2846, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004054/0.2887, allocations: 2.838 MB / 403.6 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.2899, allocations: 0.7477 MB / 404.3 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.29, allocations: 4 kB / 404.3 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.2902, allocations: 71.42 kB / 404.4 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002714/0.2905, allocations: 99.17 kB / 404.5 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.2908, allocations: 107.8 kB / 404.6 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000367/0.2912, allocations: 394.5 kB / 405 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002324/0.2914, allocations: 138.9 kB / 405.1 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.2917, allocations: 151.4 kB / 405.3 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.2919, allocations: 175.2 kB / 405.4 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.86e-05/0.2919, allocations: 32 kB / 405.5 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.105e-05/0.292, allocations: 36 kB / 405.5 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.644e-05/0.2921, allocations: 79.73 kB / 405.6 MB, free: 4 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.2922, allocations: 179.1 kB / 405.7 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.2926, allocations: 399.7 kB / 406.1 MB, free: 3.438 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2926, allocations: 4 kB / 406.1 MB, free: 3.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.937e-06/0.2926, allocations: 4 kB / 406.1 MB, free: 3.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.2926, allocations: 3.938 kB / 406.1 MB, free: 3.426 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.001171/0.2938, allocations: 0.647 MB / 406.8 MB, free: 2.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.2939, allocations: 12.03 kB / 406.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.141e-05/0.294, allocations: 32.56 kB / 406.8 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.2943, allocations: 281.1 kB / 407.1 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/0.2943, allocations: 21.03 kB / 407.1 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.74e-05/0.2944, allocations: 32.38 kB / 407.2 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005632/0.295, allocations: 294.3 kB / 407.4 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.295, allocations: 4 kB / 407.5 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.295, allocations: 12 kB / 407.5 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.295, allocations: 8 kB / 407.5 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005791/0.2956, allocations: 258.4 kB / 407.7 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.2972, allocations: 1.108 MB / 408.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/0.2976, allocations: 150.5 kB / 409 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.2978, allocations: 72.83 kB / 409 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.2978, allocations: 3.984 kB / 409.1 MB, free: 312 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.2979, allocations: 38.5 kB / 409.1 MB, free: 264 kB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.2979, allocations: 3.938 kB / 409.1 MB, free: 260 kB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001976/0.2999, allocations: 0.5873 MB / 409.7 MB, free: 15.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.2999, allocations: 55.41 kB / 409.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.3002, allocations: 286.4 kB / 410 MB, free: 15.31 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.3002, allocations: 29.7 kB / 410 MB, free: 15.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.3003, allocations: 223.5 kB / 410.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.181e-05/0.3004, allocations: 82.84 kB / 410.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.394e-05/0.3005, allocations: 65.69 kB / 410.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3006, allocations: 338.8 kB / 410.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/0.3009, allocations: 91.94 kB / 410.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003199/0.3012, allocations: 196 kB / 411 MB, free: 14.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005684/0.3018, allocations: 305.8 kB / 411.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3018, allocations: 3.938 kB / 411.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007869/0.3026, allocations: 396.8 kB / 411.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3027, allocations: 8.344 kB / 411.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.3027, allocations: 11.98 kB / 411.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000264/0.3029, allocations: 57.67 kB / 411.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.3033, allocations: 71.89 kB / 411.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.3052, allocations: 2.841 MB / 414.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.3054, allocations: 28.05 kB / 414.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.3055, allocations: 12 kB / 414.7 MB, free: 10.17 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.00014/0.3056, allocations: 153.7 kB / 414.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.3057, allocations: 27.62 kB / 414.9 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.577e-05/0.3057, allocations: 26.17 kB / 414.9 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3057, allocations: 4 kB / 414.9 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.3057, allocations: 0 / 414.9 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3058, allocations: 7.984 kB / 415 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003336/0.3061, allocations: 341.4 kB / 415.3 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3061, allocations: 0 / 415.3 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.3063, allocations: 39.91 kB / 415.3 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001483/0.3065, allocations: 57.67 kB / 415.4 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.3065, allocations: 4 kB / 415.4 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/0.3084, allocations: 2.825 MB / 418.2 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3085, allocations: 0 / 418.2 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006566/0.3091, allocations: 382.7 kB / 418.6 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.905e-05/0.3092, allocations: 100.8 kB / 418.7 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.3092, allocations: 8 kB / 418.7 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.3094, allocations: 15.97 kB / 418.7 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.3095, allocations: 16.12 kB / 418.7 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.3095, allocations: 11.98 kB / 418.7 MB, free: 5.785 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001825/0.3097, allocations: 190 kB / 418.9 MB, free: 5.602 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3097, allocations: 0 / 418.9 MB, free: 5.602 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003543/0.3101, allocations: 79.94 kB / 419 MB, free: 5.523 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.0001105/0.3102, allocations: 115.2 kB / 419.1 MB, free: 5.402 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008707/0.3111, allocations: 485 kB / 419.6 MB, free: 4.902 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3111, allocations: 0 / 419.6 MB, free: 4.902 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004544/0.3115, allocations: 342.1 kB / 419.9 MB, free: 4.543 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.3119, allocations: 32.48 kB / 419.9 MB, free: 4.512 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009906/0.3129, allocations: 0.556 MB / 420.5 MB, free: 3.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.3132, allocations: 0.7713 MB / 421.3 MB, free: 3.129 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.3133, allocations: 30.28 kB / 421.3 MB, free: 3.098 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.283e-05/0.3134, allocations: 23.44 kB / 421.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3134, allocations: 0 / 421.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of Templates: time 0.006014/0.3194, allocations: 2.825 MB / 424.2 MB, free: 304 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