Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001212, allocations: 172.5 kB / 17.4 MB, free: 4.297 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.367/1.367, allocations: 223.3 MB / 241.4 MB, free: 10 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.0007993/0.0007993, allocations: 104.8 kB / 292.6 MB, free: 10.58 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002845/0.0002846, allocations: 8 kB / 352.4 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2061, allocations: 50.4 MB / 402.8 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09076/0.2969, allocations: 81.22 MB / 484 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/0.2971, allocations: 87.94 kB / 484.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01918/0.3163, allocations: 7.186 MB / 491.2 MB, free: 7.789 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3163, allocations: 0 / 491.2 MB, free: 7.789 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.266e-05/0.3164, allocations: 7.984 kB / 491.2 MB, free: 7.781 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0008841/0.3173, allocations: 0.5541 MB / 491.8 MB, free: 7.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3173, allocations: 8.031 kB / 491.8 MB, free: 7.172 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.338e-05/0.3174, allocations: 32.56 kB / 491.8 MB, free: 7.141 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.3178, allocations: 272.9 kB / 492.1 MB, free: 6.836 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.3178, allocations: 16.94 kB / 492.1 MB, free: 6.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.869e-05/0.3179, allocations: 28.38 kB / 492.2 MB, free: 6.793 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005199/0.3184, allocations: 249.2 kB / 492.4 MB, free: 6.547 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.3184, allocations: 0 / 492.4 MB, free: 6.547 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.3184, allocations: 12 kB / 492.4 MB, free: 6.535 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.3185, allocations: 8 kB / 492.4 MB, free: 6.527 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004842/0.319, allocations: 222.1 kB / 492.6 MB, free: 6.309 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.3207, allocations: 1.021 MB / 493.7 MB, free: 5.199 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/0.3211, allocations: 206.5 kB / 493.9 MB, free: 4.988 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.3214, allocations: 108.8 kB / 494 MB, free: 4.879 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.021e-05/0.3214, allocations: 4.062 kB / 494 MB, free: 4.875 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.3214, allocations: 38.56 kB / 494 MB, free: 4.828 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.583e-06/0.3214, allocations: 0 / 494 MB, free: 4.828 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.004776/0.3262, allocations: 1.497 MB / 495.5 MB, free: 3.258 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.3263, allocations: 63.34 kB / 495.6 MB, free: 3.184 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.3265, allocations: 220.9 kB / 495.8 MB, free: 2.957 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.3266, allocations: 29.7 kB / 495.8 MB, free: 2.922 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.3267, allocations: 180.2 kB / 496 MB, free: 2.742 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.637e-05/0.3268, allocations: 118.3 kB / 496.1 MB, free: 2.625 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.806e-05/0.3268, allocations: 8 kB / 496.1 MB, free: 2.617 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3269, allocations: 334.8 kB / 496.4 MB, free: 2.281 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.3272, allocations: 108 kB / 496.5 MB, free: 2.176 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.3275, allocations: 169.3 kB / 496.7 MB, free: 1.988 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005177/0.328, allocations: 279 kB / 497 MB, free: 1.699 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.328, allocations: 3.938 kB / 497 MB, free: 1.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001545/0.3296, allocations: 0.5469 MB / 497.5 MB, free: 1.137 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.3296, allocations: 6.656 kB / 497.5 MB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.3296, allocations: 4 kB / 497.5 MB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.331, allocations: 249.5 kB / 497.8 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.3313, allocations: 51.91 kB / 497.8 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004898/0.3362, allocations: 3.732 MB / 0.4898 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.3365, allocations: 8 kB / 0.4898 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/0.3366, allocations: 20.08 kB / 0.4898 GB, free: 12.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (28): * Single equations (assignments): 26 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002298/0.3368, allocations: 153.8 kB / 0.49 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.505e-05/0.3369, allocations: 31.56 kB / 0.49 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.788e-05/0.337, allocations: 42.95 kB / 0.4901 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.337, allocations: 0 / 0.4901 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.337, allocations: 7.938 kB / 0.4901 GB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3371, allocations: 0 / 0.4901 GB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.3391, allocations: 0.9532 MB / 0.491 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3392, allocations: 0 / 0.491 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.3394, allocations: 43.97 kB / 0.491 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001355/0.3408, allocations: 253.7 kB / 0.4913 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.3408, allocations: 7.938 kB / 0.4913 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00437/0.3452, allocations: 3.732 MB / 0.4949 GB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3452, allocations: 0 / 0.4949 GB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.3471, allocations: 0.7165 MB / 0.4956 GB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.032e-05/0.3472, allocations: 97.2 kB / 0.4957 GB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.3472, allocations: 15.94 kB / 0.4957 GB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.3474, allocations: 19.92 kB / 0.4958 GB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.394e-05/0.3476, allocations: 31.89 kB / 0.4958 GB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.3476, allocations: 8 kB / 0.4958 GB, free: 6.305 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001602/0.3477, allocations: 160.5 kB / 0.4959 GB, free: 6.148 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3478, allocations: 4 kB / 0.496 GB, free: 6.145 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006321/0.3484, allocations: 104 kB / 0.496 GB, free: 6.043 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (coil.i) * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001793/0.3486, allocations: 119.2 kB / 0.4962 GB, free: 5.914 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009524/0.3495, allocations: 0.5556 MB / 0.4967 GB, free: 5.332 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3496, allocations: 0 / 0.4967 GB, free: 5.332 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005566/0.3501, allocations: 433.4 kB / 0.4971 GB, free: 4.883 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.3505, allocations: 25.06 kB / 0.4971 GB, free: 4.859 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.3518, allocations: 0.8322 MB / 0.498 GB, free: 3.996 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.3522, allocations: 0.7801 MB / 0.4987 GB, free: 3.184 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.3523, allocations: 22.28 kB / 0.4987 GB, free: 3.164 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/0.3523, allocations: 23.38 kB / 0.4988 GB, free: 3.141 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3523, allocations: 0 / 0.4988 GB, free: 3.141 MB / 378.7 MB Notification: Performance of Templates: time 0.1606/0.513, allocations: 5.268 MB / 0.5039 GB, free: 100.7 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches