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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.31/1.31, allocations: 223.2 MB / 240.3 MB, free: 11.87 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.0009252/0.0009252, allocations: 87 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002361/0.0002361, allocations: 7.938 kB / 351.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1988, allocations: 50.41 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08909/0.2879, allocations: 80.94 MB / 482.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.2882, allocations: 83.95 kB / 482.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02193/0.3102, allocations: 8.305 MB / 490.8 MB, free: 7.141 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3102, allocations: 4 kB / 490.8 MB, free: 7.137 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.3102, allocations: 4 kB / 490.8 MB, free: 7.133 MB / 362.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.0009798/0.3112, allocations: 0.5971 MB / 491.4 MB, free: 6.488 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3113, allocations: 12.03 kB / 491.4 MB, free: 6.477 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.846e-05/0.3113, allocations: 31.62 kB / 491.5 MB, free: 6.445 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.3116, allocations: 267.1 kB / 491.7 MB, free: 6.145 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.3117, allocations: 24.66 kB / 491.8 MB, free: 6.121 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/0.3117, allocations: 28 kB / 491.8 MB, free: 6.094 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005487/0.3123, allocations: 298 kB / 492.1 MB, free: 5.797 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3123, allocations: 0 / 492.1 MB, free: 5.797 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.3123, allocations: 12 kB / 492.1 MB, free: 5.785 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.3124, allocations: 11.95 kB / 492.1 MB, free: 5.773 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005704/0.3129, allocations: 270.4 kB / 492.4 MB, free: 5.512 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.3145, allocations: 1.124 MB / 493.5 MB, free: 4.289 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.3149, allocations: 162.5 kB / 493.6 MB, free: 4.121 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.3149, allocations: 3.938 kB / 493.7 MB, free: 4.117 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.3149, allocations: 38.56 kB / 493.7 MB, free: 4.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.3149, allocations: 0 / 493.7 MB, free: 4.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001957/0.3169, allocations: 0.671 MB / 494.4 MB, free: 3.387 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.3169, allocations: 63.52 kB / 494.4 MB, free: 3.312 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.3172, allocations: 229.8 kB / 494.6 MB, free: 3.086 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.3172, allocations: 33.7 kB / 494.7 MB, free: 3.047 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.3173, allocations: 223.5 kB / 494.9 MB, free: 2.824 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.029e-05/0.3174, allocations: 78.92 kB / 495 MB, free: 2.746 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.277e-05/0.3174, allocations: 4 kB / 495 MB, free: 2.742 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.883e-05/0.3175, allocations: 338.8 kB / 495.3 MB, free: 2.402 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/0.3178, allocations: 107.9 kB / 495.4 MB, free: 2.297 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/0.3181, allocations: 192.5 kB / 495.6 MB, free: 2.062 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.3184, allocations: 134.7 kB / 495.7 MB, free: 1.934 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.3184, allocations: 3.953 kB / 495.7 MB, free: 1.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007715/0.3192, allocations: 405.6 kB / 496.1 MB, free: 1.523 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3192, allocations: 12 kB / 496.1 MB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3192, allocations: 4 kB / 496.2 MB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002117/0.3194, allocations: 65.61 kB / 496.2 MB, free: 1.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.3198, allocations: 75.89 kB / 496.3 MB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/0.3214, allocations: 2.655 MB / 498.9 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.3217, allocations: 32.03 kB / 499 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.3217, allocations: 16 kB / 499 MB, free: 14.39 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.3218, allocations: 146.5 kB / 499.1 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.3219, allocations: 28.19 kB / 499.2 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.159e-05/0.322, allocations: 30.17 kB / 499.2 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.322, allocations: 7.953 kB / 499.2 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.322, allocations: 3.984 kB / 499.2 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.322, allocations: 4 kB / 499.2 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.3223, allocations: 321.7 kB / 499.5 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3223, allocations: 0 / 499.5 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.3226, allocations: 55.89 kB / 499.6 MB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001367/0.3227, allocations: 49.69 kB / 499.6 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.3227, allocations: 8 kB / 499.6 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.3243, allocations: 2.643 MB / 0.4905 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3243, allocations: 0 / 0.4905 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006791/0.325, allocations: 401 kB / 0.4909 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.3251, allocations: 92.83 kB / 0.491 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.3251, allocations: 8 kB / 0.491 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.3253, allocations: 27.91 kB / 0.491 GB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.3254, allocations: 19.97 kB / 0.491 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.3254, allocations: 12 kB / 0.491 GB, free: 10.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001522/0.3256, allocations: 181.9 kB / 0.4912 GB, free: 10.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3256, allocations: 0 / 0.4912 GB, free: 10.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003488/0.3259, allocations: 76 kB / 0.4913 GB, free: 9.941 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001217/0.326, allocations: 119.3 kB / 0.4914 GB, free: 9.816 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009045/0.327, allocations: 0.4892 MB / 0.4919 GB, free: 9.301 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.327, allocations: 4.75 kB / 0.4919 GB, free: 9.297 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004627/0.3274, allocations: 353.3 kB / 0.4922 GB, free: 8.926 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.3277, allocations: 35.22 kB / 0.4923 GB, free: 8.891 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008997/0.3286, allocations: 0.6608 MB / 0.4929 GB, free: 8.207 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.3289, allocations: 0.783 MB / 0.4937 GB, free: 7.398 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.329, allocations: 30.41 kB / 0.4937 GB, free: 7.371 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/0.3291, allocations: 19.44 kB / 0.4937 GB, free: 7.352 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.3291, allocations: 0 / 0.4937 GB, free: 7.352 MB / 378.7 MB Notification: Performance of Templates: time 0.005287/0.3344, allocations: 2.498 MB / 0.4961 GB, free: 4.863 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches