Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001155, allocations: 110.9 kB / 17.74 MB, free: 5.336 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.001119/0.001119, allocations: 188.5 kB / 18.67 MB, free: 4.41 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.321/1.321, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 43.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2563, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004569/0.2609, allocations: 2.805 MB / 404.2 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.2625, allocations: 0.7361 MB / 404.9 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003307/0.2629, allocations: 11.94 kB / 405 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.2632, allocations: 67.42 kB / 405 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005011/0.2637, allocations: 95.23 kB / 405.1 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.2641, allocations: 115.7 kB / 405.2 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005254/0.2647, allocations: 378.6 kB / 405.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002481/0.2649, allocations: 122.9 kB / 405.7 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003135/0.2652, allocations: 167.3 kB / 405.9 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002721/0.2655, allocations: 167.2 kB / 406 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.014e-05/0.2656, allocations: 32 kB / 406.1 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.854e-05/0.2657, allocations: 32 kB / 406.1 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.858e-05/0.2658, allocations: 79.67 kB / 406.2 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.2659, allocations: 171.1 kB / 406.3 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.2664, allocations: 391.7 kB / 406.7 MB, free: 3.512 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2664, allocations: 0 / 406.7 MB, free: 3.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2664, allocations: 0 / 406.7 MB, free: 3.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.2664, allocations: 0 / 406.7 MB, free: 3.512 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.001259/0.2677, allocations: 0.6393 MB / 407.4 MB, free: 2.824 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.2677, allocations: 15.89 kB / 407.4 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.133e-05/0.2678, allocations: 40.47 kB / 407.4 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003446/0.2682, allocations: 272.9 kB / 407.7 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.2682, allocations: 25.03 kB / 407.7 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-05/0.2683, allocations: 36.31 kB / 407.7 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005868/0.2689, allocations: 290.3 kB / 408 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.2689, allocations: 0 / 408 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.2689, allocations: 12 kB / 408 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.2689, allocations: 8 kB / 408.1 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005724/0.2695, allocations: 254.5 kB / 408.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.2712, allocations: 1.104 MB / 409.4 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.2716, allocations: 161.8 kB / 409.6 MB, free: 488 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.2718, allocations: 64.83 kB / 409.6 MB, free: 420 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.2718, allocations: 3.984 kB / 409.6 MB, free: 416 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.2718, allocations: 38.56 kB / 409.7 MB, free: 368 kB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.2718, allocations: 0 / 409.7 MB, free: 368 kB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001962/0.2738, allocations: 0.5911 MB / 410.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.2739, allocations: 59.41 kB / 410.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.2741, allocations: 270.4 kB / 410.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.2742, allocations: 29.7 kB / 410.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.2743, allocations: 223.5 kB / 410.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.214e-05/0.2744, allocations: 74.91 kB / 410.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.014e-05/0.2745, allocations: 61.61 kB / 411 MB, free: 15.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2746, allocations: 338.8 kB / 411.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.2749, allocations: 91.94 kB / 411.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.2752, allocations: 199.9 kB / 411.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005959/0.2758, allocations: 301.8 kB / 411.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2758, allocations: 0 / 411.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008015/0.2766, allocations: 397.1 kB / 412.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2767, allocations: 6.5 kB / 412.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.2767, allocations: 4 kB / 412.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002542/0.2769, allocations: 57.94 kB / 412.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.2772, allocations: 71.89 kB / 412.4 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.2793, allocations: 2.844 MB / 415.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.2795, allocations: 19.98 kB / 415.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.2796, allocations: 16 kB / 415.3 MB, free: 10.31 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.000161/0.2797, allocations: 155 kB / 415.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/0.2798, allocations: 27.7 kB / 415.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.099e-05/0.2799, allocations: 30.19 kB / 415.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2799, allocations: 3.938 kB / 415.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.2799, allocations: 4 kB / 415.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2799, allocations: 3.984 kB / 415.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003599/0.2803, allocations: 329.4 kB / 415.8 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2803, allocations: 0 / 415.8 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.2805, allocations: 35.97 kB / 415.9 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001495/0.2807, allocations: 65.73 kB / 415.9 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.2807, allocations: 4 kB / 415.9 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001877/0.2826, allocations: 2.821 MB / 418.7 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2826, allocations: 0 / 418.7 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006872/0.2833, allocations: 383 kB / 419.1 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/0.2833, allocations: 104.7 kB / 419.2 MB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.2834, allocations: 4 kB / 419.2 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.2836, allocations: 15.97 kB / 419.2 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.2837, allocations: 27.91 kB / 419.3 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.2837, allocations: 8 kB / 419.3 MB, free: 5.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001669/0.2839, allocations: 182 kB / 419.5 MB, free: 5.754 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2839, allocations: 0 / 419.5 MB, free: 5.754 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003844/0.2843, allocations: 76 kB / 419.5 MB, free: 5.68 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.0001188/0.2844, allocations: 103.1 kB / 419.6 MB, free: 5.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009079/0.2853, allocations: 493.1 kB / 420.1 MB, free: 5.062 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2853, allocations: 4.75 kB / 420.1 MB, free: 5.059 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004844/0.2858, allocations: 345.3 kB / 420.4 MB, free: 4.695 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.2861, allocations: 24.56 kB / 420.5 MB, free: 4.672 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.2872, allocations: 0.5695 MB / 421 MB, free: 4.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.2876, allocations: 0.7713 MB / 421.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.89e-05/0.2877, allocations: 23.44 kB / 421.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2877, allocations: 0 / 421.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of Templates: time 0.0081/0.2958, allocations: 5.918 MB / 427.8 MB, free: 13.32 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches