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.002257/0.002257, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.443/1.443, allocations: 222.9 MB / 241.6 MB, free: 11 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.00107/0.00107, allocations: 107.7 kB / 291.9 MB, free: 10.92 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.3908/0.3908, allocations: 44.13 MB / 386.1 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 51.92 kB / 457.7 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3977, allocations: 60.8 MB / 0.5064 GB, free: 38.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003287/0.401, allocations: 1.946 MB / 0.5083 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000778/0.4018, allocations: 0.5439 MB / 0.5088 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.65e-05/0.4019, allocations: 2.875 kB / 0.5088 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 6.148e-05/0.402, allocations: 10.78 kB / 0.5088 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.4022, allocations: 30.39 kB / 0.5089 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.4024, allocations: 70.92 kB / 0.5089 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.4026, allocations: 147.8 kB / 0.5091 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.4027, allocations: 31.83 kB / 0.5091 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.4029, allocations: 67.08 kB / 0.5092 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.977e-05/0.403, allocations: 64.11 kB / 0.5092 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.403, allocations: 7.844 kB / 0.5092 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.359e-05/0.403, allocations: 5.688 kB / 0.5092 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.4031, allocations: 32.55 kB / 0.5093 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.589e-05/0.4031, allocations: 55.73 kB / 0.5093 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.4033, allocations: 135.5 kB / 0.5095 GB, free: 36.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4033, allocations: 4 kB / 0.5095 GB, free: 36.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4033, allocations: 0 / 0.5095 GB, free: 36.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.4033, allocations: 0 / 0.5095 GB, free: 36.26 MB / 378.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.000761/0.4041, allocations: 444.6 kB / 0.5099 GB, free: 35.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.4042, allocations: 15.83 kB / 0.5099 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.373e-05/0.4042, allocations: 10.56 kB / 0.5099 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.4044, allocations: 188.1 kB / 0.5101 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.4044, allocations: 7.438 kB / 0.5101 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.4044, allocations: 6.25 kB / 0.5101 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.4047, allocations: 141.9 kB / 0.5102 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.4048, allocations: 4 kB / 0.5102 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.4048, allocations: 0 / 0.5102 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.4048, allocations: 2.844 kB / 0.5102 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003176/0.4051, allocations: 95.88 kB / 0.5103 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007429/0.4059, allocations: 456.2 kB / 0.5108 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.4062, allocations: 93.48 kB / 0.5109 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.4063, allocations: 43.78 kB / 0.5109 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.4063, allocations: 3.406 kB / 0.5109 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.4064, allocations: 34.56 kB / 0.5109 GB, free: 35.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.4064, allocations: 4 kB / 0.5109 GB, free: 35.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.001264/0.4076, allocations: 315.6 kB / 0.5112 GB, free: 34.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.4077, allocations: 102.8 kB / 0.5113 GB, free: 34.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.4078, allocations: 146.8 kB / 0.5115 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.4078, allocations: 29.7 kB / 0.5115 GB, free: 34.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.4079, allocations: 112.4 kB / 0.5116 GB, free: 34.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.4079, allocations: 26.64 kB / 0.5116 GB, free: 34.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.408, allocations: 32.89 kB / 0.5117 GB, free: 34.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.047e-05/0.4081, allocations: 317.8 kB / 0.512 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.4083, allocations: 64.56 kB / 0.512 GB, free: 34.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.4085, allocations: 86.11 kB / 0.5121 GB, free: 34.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003987/0.4089, allocations: 144.8 kB / 0.5123 GB, free: 34.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4089, allocations: 0 / 0.5123 GB, free: 34.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005748/0.4095, allocations: 181 kB / 0.5124 GB, free: 34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.4095, allocations: 11.38 kB / 0.5124 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4095, allocations: 0 / 0.5124 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.4096, allocations: 0 / 0.5124 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006533/0.4102, allocations: 87.36 kB / 0.5125 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.4113, allocations: 1.409 MB / 0.5139 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.4115, allocations: 27.05 kB / 0.5139 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.4115, allocations: 2.844 kB / 0.5139 GB, free: 32.57 MB / 378.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.798e-05/0.4116, allocations: 127.1 kB / 0.514 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.4116, allocations: 12.55 kB / 0.5141 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004504/0.4121, allocations: 165.7 kB / 0.5142 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.4121, allocations: 4 kB / 0.5142 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.4121, allocations: 0 / 0.5142 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.4121, allocations: 0 / 0.5142 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006549/0.4128, allocations: 464.1 kB / 0.5147 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4128, allocations: 0 / 0.5147 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.413, allocations: 30.55 kB / 0.5147 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.413, allocations: 0 / 0.5147 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.413, allocations: 3.094 kB / 0.5147 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.413, allocations: 3.938 kB / 0.5147 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.413, allocations: 2.75 kB / 0.5147 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008185/0.4138, allocations: 0.8687 MB / 0.5155 GB, free: 31.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.4139, allocations: 94.3 kB / 0.5156 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.4139, allocations: 5.156 kB / 0.5156 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.4141, allocations: 20.75 kB / 0.5157 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.4142, allocations: 6.562 kB / 0.5157 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.4142, allocations: 5.656 kB / 0.5157 GB, free: 31.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.741e-05/0.4143, allocations: 116.5 kB / 0.5158 GB, free: 31.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4143, allocations: 0 / 0.5158 GB, free: 31.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003643/0.4146, allocations: 29.69 kB / 0.5158 GB, free: 31.02 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.866e-05/0.4147, allocations: 94.66 kB / 0.5159 GB, free: 30.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008306/0.4156, allocations: 176.5 kB / 0.5161 GB, free: 30.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4156, allocations: 0 / 0.5161 GB, free: 30.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.4158, allocations: 67.09 kB / 0.5161 GB, free: 30.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.4162, allocations: 10.03 kB / 0.5161 GB, free: 30.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.4174, allocations: 0.525 MB / 0.5167 GB, free: 30.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.4176, allocations: 0.7104 MB / 0.5174 GB, free: 29.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.705e-05/0.4176, allocations: 19.61 kB / 0.5174 GB, free: 29.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.4177, allocations: 16.84 kB / 0.5174 GB, free: 29.82 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4177, allocations: 0 / 0.5174 GB, free: 29.82 MB / 378.7 MB Notification: Performance of Templates: time 0.004082/0.4218, allocations: 1.6 MB / 0.5189 GB, free: 29.68 MB / 378.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@2/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