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.001447/0.001447, allocations: 201.8 kB / 17.08 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.178/1.178, allocations: 227.2 MB / 245 MB, free: 7.621 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008797/0.0008797, allocations: 96.12 kB / 297.3 MB, free: 6.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2892/0.2892, allocations: 45.23 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002501/0.0002501, allocations: 8 kB / 468.4 MB, free: 7.746 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3072, allocations: 63.25 MB / 0.5192 GB, free: 43.82 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1032/0.4105, allocations: 89.29 MB / 0.6064 GB, free: 372 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/0.4107, allocations: 67.97 kB / 0.6064 GB, free: 304 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00905/0.4198, allocations: 3.001 MB / 0.6094 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4198, allocations: 0 / 0.6094 GB, free: 13.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.976e-06/0.4198, allocations: 4 kB / 0.6094 GB, free: 13.33 MB / 426.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.000617/0.4204, allocations: 434.9 kB / 0.6098 GB, free: 12.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.4205, allocations: 12.03 kB / 0.6098 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003027/0.4208, allocations: 47.78 kB / 0.6098 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.421, allocations: 190.8 kB / 0.61 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.421, allocations: 4 kB / 0.61 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.421, allocations: 8 kB / 0.61 GB, free: 12.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.4213, allocations: 147 kB / 0.6102 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.4214, allocations: 0 / 0.6102 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.4214, allocations: 0 / 0.6102 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4214, allocations: 0 / 0.6102 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.4217, allocations: 107.9 kB / 0.6103 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008238/0.4226, allocations: 461.3 kB / 0.6107 GB, free: 11.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.4229, allocations: 102.4 kB / 0.6108 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.4229, allocations: 4 kB / 0.6108 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.4229, allocations: 34.56 kB / 0.6109 GB, free: 11.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.4229, allocations: 0 / 0.6109 GB, free: 11.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.001356/0.4243, allocations: 365.2 kB / 0.6112 GB, free: 11.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.4244, allocations: 102.8 kB / 0.6113 GB, free: 11.15 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.4245, allocations: 135.5 kB / 0.6114 GB, free: 11.01 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.4245, allocations: 33.64 kB / 0.6115 GB, free: 10.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/0.4246, allocations: 112.1 kB / 0.6116 GB, free: 10.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.4246, allocations: 23.66 kB / 0.6116 GB, free: 10.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.4246, allocations: 0 / 0.6116 GB, free: 10.83 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.296e-05/0.4247, allocations: 318.8 kB / 0.6119 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.425, allocations: 71.95 kB / 0.612 GB, free: 10.44 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/0.4252, allocations: 104.2 kB / 0.6121 GB, free: 10.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.4254, allocations: 79.88 kB / 0.6121 GB, free: 10.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4255, allocations: 0 / 0.6121 GB, free: 10.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005128/0.426, allocations: 197.4 kB / 0.6123 GB, free: 10.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.426, allocations: 4 kB / 0.6123 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.426, allocations: 192 / 0.6123 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.426, allocations: 4.344 kB / 0.6123 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006164/0.4267, allocations: 95.84 kB / 0.6124 GB, free: 9.945 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.4279, allocations: 1.389 MB / 0.6138 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.4281, allocations: 36.28 kB / 0.6138 GB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.4281, allocations: 4 kB / 0.6138 GB, free: 8.383 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.916e-05/0.4282, allocations: 121.7 kB / 0.6139 GB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.4283, allocations: 7.906 kB / 0.6139 GB, free: 8.246 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005093/0.4288, allocations: 186.3 kB / 0.6141 GB, free: 8.062 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.4288, allocations: 3.984 kB / 0.6141 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.4288, allocations: 0 / 0.6141 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4288, allocations: 0 / 0.6141 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007723/0.4296, allocations: 486.3 kB / 0.6146 GB, free: 7.527 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4296, allocations: 4 kB / 0.6146 GB, free: 7.523 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.4298, allocations: 32.03 kB / 0.6146 GB, free: 7.492 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4298, allocations: 4 kB / 0.6146 GB, free: 7.488 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.4298, allocations: 4 kB / 0.6146 GB, free: 7.484 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4298, allocations: 0 / 0.6146 GB, free: 7.484 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4298, allocations: 0 / 0.6146 GB, free: 7.484 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005381/0.4304, allocations: 279.5 kB / 0.6149 GB, free: 7.195 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/0.4304, allocations: 89.02 kB / 0.615 GB, free: 7.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.4305, allocations: 0 / 0.615 GB, free: 7.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.4307, allocations: 31.97 kB / 0.615 GB, free: 7.059 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.4307, allocations: 7.984 kB / 0.615 GB, free: 7.051 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.4307, allocations: 4 kB / 0.615 GB, free: 7.047 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.476e-05/0.4308, allocations: 115.2 kB / 0.6151 GB, free: 6.934 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4308, allocations: 0 / 0.6151 GB, free: 6.934 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002475/0.4311, allocations: 32 kB / 0.6152 GB, free: 6.902 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 9.368e-05/0.4312, allocations: 104.3 kB / 0.6153 GB, free: 6.789 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000902/0.4321, allocations: 199.9 kB / 0.6155 GB, free: 6.594 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4321, allocations: 0 / 0.6155 GB, free: 6.594 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.4323, allocations: 79.89 kB / 0.6155 GB, free: 6.516 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.4325, allocations: 14.22 kB / 0.6155 GB, free: 6.504 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.4338, allocations: 420.5 kB / 0.6159 GB, free: 6.066 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.4341, allocations: 0.7043 MB / 0.6166 GB, free: 5.336 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.889e-05/0.4342, allocations: 16.42 kB / 0.6167 GB, free: 5.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.667e-05/0.4342, allocations: 15.42 kB / 0.6167 GB, free: 5.305 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4342, allocations: 0 / 0.6167 GB, free: 5.305 MB / 426.7 MB Notification: Performance of Templates: time 0.003465/0.4377, allocations: 1.453 MB / 0.6181 GB, free: 3.871 MB / 426.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