Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000934/0.000934, allocations: 172.8 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008582/0.0008582, allocations: 86.62 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.402e-05/2.404e-05, allocations: 0 / 322.4 MB, free: 17.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0879/0.08794, allocations: 47.57 MB / 370 MB, free: 1.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2948/0.3828, allocations: 79.16 MB / 449.2 MB, free: 14.13 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/0.383, allocations: 84.56 kB / 449.3 MB, free: 14.08 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01857/0.4016, allocations: 6.929 MB / 456.2 MB, free: 8.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.035e-06/0.4017, allocations: 4 kB / 456.2 MB, free: 8.227 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.4017, allocations: 8 kB / 456.2 MB, free: 8.219 MB / 330.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.0007236/0.4024, allocations: 0.5231 MB / 456.7 MB, free: 7.672 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.4025, allocations: 12.03 kB / 456.7 MB, free: 7.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.352e-05/0.4025, allocations: 31.62 kB / 456.8 MB, free: 7.629 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.4029, allocations: 266.4 kB / 457 MB, free: 7.348 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.4029, allocations: 23.64 kB / 457 MB, free: 7.332 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.4029, allocations: 26.56 kB / 457.1 MB, free: 7.316 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/0.4033, allocations: 230.5 kB / 457.3 MB, free: 7.156 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.4034, allocations: 0 / 457.3 MB, free: 7.156 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.4034, allocations: 10.88 kB / 457.3 MB, free: 7.152 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.4034, allocations: 8 kB / 457.3 MB, free: 7.145 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.4037, allocations: 187.3 kB / 457.5 MB, free: 7.023 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.4052, allocations: 1.02 MB / 458.5 MB, free: 6.102 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.4055, allocations: 193.5 kB / 458.7 MB, free: 5.965 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.4057, allocations: 106.6 kB / 458.8 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.4057, allocations: 0 / 458.8 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.4057, allocations: 38.56 kB / 458.8 MB, free: 5.844 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.262e-06/0.4058, allocations: 0 / 458.8 MB, free: 5.844 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.003673/0.4094, allocations: 1.221 MB / 460.1 MB, free: 4.566 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.4095, allocations: 55.41 kB / 460.1 MB, free: 4.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.4097, allocations: 204.8 kB / 460.3 MB, free: 4.297 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.4097, allocations: 29.7 kB / 460.3 MB, free: 4.262 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.679e-05/0.4098, allocations: 188 kB / 460.5 MB, free: 4.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.832e-05/0.4099, allocations: 114.4 kB / 460.6 MB, free: 3.957 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/0.4099, allocations: 8 kB / 460.7 MB, free: 3.949 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.41, allocations: 338.8 kB / 461 MB, free: 3.609 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.4102, allocations: 99.94 kB / 461.1 MB, free: 3.512 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.4104, allocations: 153.4 kB / 461.2 MB, free: 3.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.4106, allocations: 121.5 kB / 461.3 MB, free: 3.223 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.4106, allocations: 0 / 461.3 MB, free: 3.223 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001437/0.4121, allocations: 0.5084 MB / 461.9 MB, free: 2.703 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.4121, allocations: 8 kB / 461.9 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.4121, allocations: 0 / 461.9 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007901/0.4129, allocations: 181.6 kB / 462 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.4132, allocations: 67.89 kB / 462.1 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004457/0.4177, allocations: 3.753 MB / 465.9 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.418, allocations: 24.02 kB / 465.9 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.418, allocations: 8 kB / 465.9 MB, free: 14.39 MB / 346.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 () * 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.0001578/0.4182, allocations: 125.7 kB / 466 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.489e-05/0.4182, allocations: 27.62 kB / 466 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.4184, allocations: 43.08 kB / 466.1 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.4184, allocations: 4.062 kB / 466.1 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.4184, allocations: 4 kB / 466.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.4184, allocations: 7.938 kB / 466.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002021/0.4204, allocations: 0.9417 MB / 467 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.4204, allocations: 0 / 467 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.4207, allocations: 35.97 kB / 467.1 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007365/0.4214, allocations: 189.5 kB / 467.3 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.4214, allocations: 8 kB / 467.3 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004332/0.4258, allocations: 3.752 MB / 471 MB, free: 8.914 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4258, allocations: 0 / 471 MB, free: 8.914 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.4274, allocations: 0.7258 MB / 471.7 MB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.4275, allocations: 96.78 kB / 471.8 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.4276, allocations: 12 kB / 471.9 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.4278, allocations: 15.98 kB / 471.9 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.728e-05/0.4279, allocations: 27.91 kB / 471.9 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.428, allocations: 11.98 kB / 471.9 MB, free: 7.977 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000161/0.4281, allocations: 153.4 kB / 472.1 MB, free: 7.828 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4281, allocations: 4.062 kB / 472.1 MB, free: 7.824 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006137/0.4288, allocations: 108 kB / 472.2 MB, free: 7.719 MB / 346.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 () * 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.0002127/0.429, allocations: 111.2 kB / 472.3 MB, free: 7.598 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008957/0.4299, allocations: 0.5359 MB / 472.8 MB, free: 7.035 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4299, allocations: 0 / 472.8 MB, free: 7.035 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005075/0.4304, allocations: 421.2 kB / 473.2 MB, free: 6.598 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.4307, allocations: 13.53 kB / 473.2 MB, free: 6.586 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008922/0.4316, allocations: 466 kB / 473.7 MB, free: 6.105 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.432, allocations: 0.7879 MB / 474.5 MB, free: 5.285 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.882e-05/0.4321, allocations: 14.08 kB / 474.5 MB, free: 5.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.596e-05/0.4322, allocations: 15.44 kB / 474.5 MB, free: 5.254 MB / 346.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4322, allocations: 0 / 474.5 MB, free: 5.254 MB / 346.7 MB Notification: Performance of Templates: time 0.009463/0.4416, allocations: 5.349 MB / 479.9 MB, free: 15.91 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SaturatedInductor/SaturatedInductor.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches