Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 176.6 kB / 17.06 MB, free: 5.098 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.312/1.312, allocations: 223.2 MB / 241 MB, free: 11.84 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.0008866/0.0008867, allocations: 96.86 kB / 292.2 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3895/0.3895, allocations: 44.21 MB / 387.5 MB, free: 39.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.000326, allocations: 8 kB / 459.9 MB, free: 1.758 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4241, allocations: 61.89 MB / 0.5096 GB, free: 37.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.5485, allocations: 88.22 MB / 0.5957 GB, free: 6.938 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.5488, allocations: 75.92 kB / 0.5958 GB, free: 6.867 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008634/0.5575, allocations: 2.928 MB / 0.5986 GB, free: 3.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5575, allocations: 0 / 0.5986 GB, free: 3.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.998e-06/0.5575, allocations: 4 kB / 0.5986 GB, free: 3.926 MB / 410.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.000691/0.5582, allocations: 442.8 kB / 0.5991 GB, free: 3.445 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.5583, allocations: 8.219 kB / 0.5991 GB, free: 3.438 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.861e-05/0.5583, allocations: 15.81 kB / 0.5991 GB, free: 3.422 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.5585, allocations: 186.9 kB / 0.5993 GB, free: 3.199 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.5585, allocations: 7.938 kB / 0.5993 GB, free: 3.191 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.5585, allocations: 15.86 kB / 0.5993 GB, free: 3.176 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.5589, allocations: 141.5 kB / 0.5994 GB, free: 3.023 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.5589, allocations: 0 / 0.5994 GB, free: 3.023 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.5589, allocations: 4 kB / 0.5994 GB, free: 3.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.5589, allocations: 7.984 kB / 0.5994 GB, free: 3.012 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003266/0.5593, allocations: 103.9 kB / 0.5995 GB, free: 2.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008407/0.5601, allocations: 459.4 kB / 0.6 GB, free: 2.406 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.5604, allocations: 98.52 kB / 0.6001 GB, free: 2.301 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.5605, allocations: 3.984 kB / 0.6001 GB, free: 2.297 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.5605, allocations: 30.56 kB / 0.6001 GB, free: 2.258 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.5605, allocations: 0 / 0.6001 GB, free: 2.258 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.001385/0.5619, allocations: 369.1 kB / 0.6005 GB, free: 1.891 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.562, allocations: 110.8 kB / 0.6006 GB, free: 1.758 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.5621, allocations: 135.4 kB / 0.6007 GB, free: 1.621 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.5621, allocations: 29.64 kB / 0.6007 GB, free: 1.586 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.5622, allocations: 112.1 kB / 0.6008 GB, free: 1.469 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.5622, allocations: 19.66 kB / 0.6008 GB, free: 1.449 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/0.5622, allocations: 0 / 0.6008 GB, free: 1.449 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.5624, allocations: 322.8 kB / 0.6011 GB, free: 1.125 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.5626, allocations: 67.95 kB / 0.6012 GB, free: 1.059 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.5628, allocations: 108.2 kB / 0.6013 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.5631, allocations: 67.98 kB / 0.6014 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5631, allocations: 7.938 kB / 0.6014 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005017/0.5636, allocations: 193.4 kB / 0.6016 GB, free: 0.668 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.5636, allocations: 8.062 kB / 0.6016 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.5636, allocations: 7.953 kB / 0.6016 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.5636, allocations: 0 / 0.6016 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006204/0.5643, allocations: 95.84 kB / 0.6017 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.5656, allocations: 1.382 MB / 0.603 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.5658, allocations: 40.34 kB / 0.6031 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.5659, allocations: 0 / 0.6031 GB, free: 15 MB / 426.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 () * Number of clocked 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 9.851e-05/0.566, allocations: 121.8 kB / 0.6032 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.566, allocations: 8.188 kB / 0.6032 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005082/0.5665, allocations: 198.2 kB / 0.6034 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.5665, allocations: 7.984 kB / 0.6034 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.62e-07/0.5665, allocations: 192 / 0.6034 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.5666, allocations: 0 / 0.6034 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008174/0.5674, allocations: 490.3 kB / 0.6039 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.5674, allocations: 3.953 kB / 0.6039 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.5676, allocations: 31.97 kB / 0.6039 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5676, allocations: 0 / 0.6039 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.5676, allocations: 0 / 0.6039 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.5676, allocations: 0 / 0.6039 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5676, allocations: 0 / 0.6039 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005028/0.5681, allocations: 271.4 kB / 0.6042 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.5682, allocations: 92.91 kB / 0.6042 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.5682, allocations: 0 / 0.6042 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.5684, allocations: 35.97 kB / 0.6043 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.5685, allocations: 7.984 kB / 0.6043 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.5685, allocations: 0 / 0.6043 GB, free: 13.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.023e-05/0.5686, allocations: 113.5 kB / 0.6044 GB, free: 13.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5686, allocations: 0 / 0.6044 GB, free: 13.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002491/0.5688, allocations: 28 kB / 0.6044 GB, free: 13.52 MB / 426.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 (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.0001093/0.5689, allocations: 103.2 kB / 0.6045 GB, free: 13.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000916/0.5699, allocations: 199.9 kB / 0.6047 GB, free: 13.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5699, allocations: 0 / 0.6047 GB, free: 13.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.5701, allocations: 75.94 kB / 0.6048 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.5703, allocations: 15.88 kB / 0.6048 GB, free: 13.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.5717, allocations: 430 kB / 0.6052 GB, free: 12.67 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.5719, allocations: 0.7043 MB / 0.6059 GB, free: 11.94 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.502e-05/0.572, allocations: 12.44 kB / 0.6059 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.184e-05/0.5721, allocations: 15.42 kB / 0.6059 GB, free: 11.91 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5721, allocations: 0 / 0.6059 GB, free: 11.91 MB / 426.7 MB Notification: Performance of Templates: time 0.003499/0.5756, allocations: 1.471 MB / 0.6074 GB, free: 10.45 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches