Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001026/0.001026, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008317/0.0008317, allocations: 97.88 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.187/0.187, allocations: 45.16 MB / 383.8 MB, free: 288 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.08e-05/1.082e-05, allocations: 0 / 453.2 MB, free: 75.85 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.094/0.09403, allocations: 63.24 MB / 0.5044 GB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.361/0.4551, allocations: 88.55 MB / 0.5908 GB, free: 14.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001824/0.4553, allocations: 62.59 kB / 0.5909 GB, free: 14.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008248/0.4636, allocations: 2.969 MB / 0.5938 GB, free: 11.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.4636, allocations: 0 / 0.5938 GB, free: 11.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.4636, allocations: 4 kB / 0.5938 GB, free: 11.58 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005879/0.4642, allocations: 417 kB / 0.5942 GB, free: 11.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.4642, allocations: 8.031 kB / 0.5942 GB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002849/0.4645, allocations: 39.88 kB / 0.5942 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.4647, allocations: 186.4 kB / 0.5944 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.4647, allocations: 7.938 kB / 0.5944 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.4648, allocations: 8 kB / 0.5944 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001269/0.4649, allocations: 53.23 kB / 0.5945 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.4651, allocations: 102.5 kB / 0.5946 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.4651, allocations: 4 kB / 0.5946 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.4651, allocations: 0 / 0.5946 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4651, allocations: 0 / 0.5946 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007429/0.4659, allocations: 443.3 kB / 0.595 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.466, allocations: 59.44 kB / 0.5951 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.727e-05/0.4661, allocations: 20.75 kB / 0.5951 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.4661, allocations: 0 / 0.5951 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.4661, allocations: 33.5 kB / 0.5951 GB, free: 10.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.4661, allocations: 0 / 0.5951 GB, free: 10.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.000663/0.4668, allocations: 184.2 kB / 0.5953 GB, free: 10.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.4668, allocations: 102.8 kB / 0.5954 GB, free: 9.898 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.467, allocations: 134.3 kB / 0.5955 GB, free: 9.777 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.467, allocations: 25.7 kB / 0.5955 GB, free: 9.746 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.904e-05/0.4671, allocations: 111.4 kB / 0.5956 GB, free: 9.637 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.4671, allocations: 18.47 kB / 0.5957 GB, free: 9.621 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.4671, allocations: 4 kB / 0.5957 GB, free: 9.617 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4672, allocations: 318.4 kB / 0.596 GB, free: 9.301 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.815e-05/0.4673, allocations: 25.62 kB / 0.596 GB, free: 9.289 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.942e-05/0.4674, allocations: 67.03 kB / 0.5961 GB, free: 9.223 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.14e-05/0.4674, allocations: 25.84 kB / 0.5961 GB, free: 9.207 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4674, allocations: 0 / 0.5961 GB, free: 9.207 MB / 394.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001774/0.4676, allocations: 113.8 kB / 0.5962 GB, free: 9.109 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.4676, allocations: 4 kB / 0.5962 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4676, allocations: 3.938 kB / 0.5962 GB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4677, allocations: 4 kB / 0.5962 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/0.4682, allocations: 99.09 kB / 0.5963 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.4694, allocations: 1.323 MB / 0.5976 GB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.4697, allocations: 31.31 kB / 0.5976 GB, free: 7.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.4697, allocations: 4.125 kB / 0.5976 GB, free: 7.566 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.477e-05/0.4698, allocations: 108.9 kB / 0.5977 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.4698, allocations: 11.86 kB / 0.5977 GB, free: 7.441 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.47, allocations: 106.1 kB / 0.5978 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.47, allocations: 0 / 0.5978 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.92e-07/0.47, allocations: 0 / 0.5978 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.47, allocations: 0 / 0.5978 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003977/0.4704, allocations: 370.3 kB / 0.5982 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4704, allocations: 0 / 0.5982 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.4706, allocations: 39.22 kB / 0.5982 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4706, allocations: 0 / 0.5982 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.4706, allocations: 3.984 kB / 0.5982 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4706, allocations: 0 / 0.5982 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4706, allocations: 0 / 0.5982 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.4708, allocations: 179.9 kB / 0.5984 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.4708, allocations: 96.08 kB / 0.5985 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.4709, allocations: 0 / 0.5985 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.4711, allocations: 31.97 kB / 0.5985 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.4711, allocations: 7.984 kB / 0.5985 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.4711, allocations: 0 / 0.5985 GB, free: 6.621 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.119e-05/0.4712, allocations: 109.5 kB / 0.5986 GB, free: 6.523 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4712, allocations: 0 / 0.5986 GB, free: 6.523 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002478/0.4715, allocations: 24 kB / 0.5987 GB, free: 6.5 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001055/0.4716, allocations: 95.25 kB / 0.5988 GB, free: 6.398 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005231/0.4721, allocations: 119.1 kB / 0.5989 GB, free: 6.305 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.4721, allocations: 0 / 0.5989 GB, free: 6.305 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.367e-05/0.4722, allocations: 37.23 kB / 0.5989 GB, free: 6.277 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.4724, allocations: 11.02 kB / 0.5989 GB, free: 6.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.4734, allocations: 277.6 kB / 0.5992 GB, free: 5.988 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.4737, allocations: 0.7041 MB / 0.5999 GB, free: 5.258 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.602e-05/0.4738, allocations: 12.44 kB / 0.5999 GB, free: 5.246 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.4738, allocations: 15.42 kB / 0.5999 GB, free: 5.23 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4738, allocations: 0 / 0.5999 GB, free: 5.23 MB / 394.7 MB Notification: Performance of Templates: time 0.003674/0.4775, allocations: 1.33 MB / 0.6012 GB, free: 3.926 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches