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.001361/0.001361, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001074/0.001074, allocations: 106.6 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4543/0.4543, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4167, allocations: 62.01 MB / 0.5151 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.00538/0.4222, allocations: 1.972 MB / 0.5171 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.4241, allocations: 0.5797 MB / 0.5176 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.667e-05/0.4242, allocations: 4 kB / 0.5176 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.576e-05/0.4243, allocations: 13.48 kB / 0.5177 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.4246, allocations: 29.06 kB / 0.5177 GB, free: 36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.4251, allocations: 72.31 kB / 0.5178 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000265/0.4254, allocations: 153.7 kB / 0.5179 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.4256, allocations: 24.34 kB / 0.5179 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003469/0.4259, allocations: 75.11 kB / 0.518 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.4261, allocations: 59.94 kB / 0.5181 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.049e-05/0.4262, allocations: 8.656 kB / 0.5181 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.603e-05/0.4263, allocations: 11.98 kB / 0.5181 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.916e-05/0.4264, allocations: 25.2 kB / 0.5181 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.4265, allocations: 60.16 kB / 0.5182 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.4268, allocations: 134 kB / 0.5183 GB, free: 35.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.4268, allocations: 4 kB / 0.5183 GB, free: 35.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4268, allocations: 0 / 0.5183 GB, free: 35.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.4268, allocations: 0 / 0.5183 GB, free: 35.71 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.001189/0.428, allocations: 448.6 kB / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/0.4281, allocations: 8.5 kB / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005203/0.4286, allocations: 49.11 kB / 0.5188 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.4288, allocations: 188.2 kB / 0.5189 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.4289, allocations: 11.06 kB / 0.519 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.4289, allocations: 6 kB / 0.519 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004922/0.4294, allocations: 139.1 kB / 0.5191 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.4295, allocations: 6.812 kB / 0.5191 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.4295, allocations: 4 kB / 0.5191 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.4295, allocations: 2.812 kB / 0.5191 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005576/0.4301, allocations: 99.08 kB / 0.5192 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.4313, allocations: 455.8 kB / 0.5196 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004882/0.4318, allocations: 91.48 kB / 0.5197 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.432, allocations: 42.89 kB / 0.5198 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.4321, allocations: 0 / 0.5198 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.4321, allocations: 37.44 kB / 0.5198 GB, free: 34.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.864e-06/0.4321, allocations: 0 / 0.5198 GB, free: 34.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.002052/0.4342, allocations: 319 kB / 0.5201 GB, free: 34.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.4343, allocations: 105.4 kB / 0.5202 GB, free: 34.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.4344, allocations: 150.6 kB / 0.5203 GB, free: 34.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.4345, allocations: 25.7 kB / 0.5204 GB, free: 34.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.444e-05/0.4346, allocations: 109.4 kB / 0.5205 GB, free: 34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.4346, allocations: 25.12 kB / 0.5205 GB, free: 33.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.621e-05/0.4347, allocations: 29.34 kB / 0.5205 GB, free: 33.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.387e-05/0.4348, allocations: 317.5 kB / 0.5208 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.4352, allocations: 58.95 kB / 0.5209 GB, free: 33.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.4355, allocations: 100.8 kB / 0.521 GB, free: 33.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005751/0.4361, allocations: 138.3 kB / 0.5211 GB, free: 33.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.4361, allocations: 0 / 0.5211 GB, free: 33.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007095/0.4369, allocations: 185.1 kB / 0.5213 GB, free: 33.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.4369, allocations: 10.19 kB / 0.5213 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4369, allocations: 2.844 kB / 0.5213 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.4369, allocations: 0 / 0.5213 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007666/0.4377, allocations: 86.72 kB / 0.5214 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/0.4392, allocations: 1.396 MB / 0.5228 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/0.4395, allocations: 21.31 kB / 0.5228 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.4395, allocations: 6.594 kB / 0.5228 GB, free: 32.02 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 0.0001215/0.4397, allocations: 131.3 kB / 0.5229 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.197e-05/0.4398, allocations: 10.25 kB / 0.5229 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007323/0.4405, allocations: 167.7 kB / 0.5231 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.4405, allocations: 4.172 kB / 0.5231 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.4405, allocations: 0 / 0.5231 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.4406, allocations: 3.938 kB / 0.5231 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.4418, allocations: 471.6 kB / 0.5235 GB, free: 31.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4418, allocations: 0 / 0.5235 GB, free: 31.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.442, allocations: 26.62 kB / 0.5236 GB, free: 31.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.4421, allocations: 0 / 0.5236 GB, free: 31.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.4421, allocations: 0 / 0.5236 GB, free: 31.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.4421, allocations: 2.812 kB / 0.5236 GB, free: 31.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.4421, allocations: 3.328 kB / 0.5236 GB, free: 31.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.4434, allocations: 0.8681 MB / 0.5244 GB, free: 30.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.4434, allocations: 83.8 kB / 0.5245 GB, free: 30.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.4435, allocations: 13.97 kB / 0.5245 GB, free: 30.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003412/0.4438, allocations: 20.98 kB / 0.5245 GB, free: 30.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.058e-05/0.4439, allocations: 10.14 kB / 0.5245 GB, free: 30.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.444, allocations: 0 / 0.5245 GB, free: 30.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.968e-05/0.4441, allocations: 115.7 kB / 0.5246 GB, free: 30.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4441, allocations: 0 / 0.5246 GB, free: 30.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000644/0.4447, allocations: 25.66 kB / 0.5247 GB, free: 30.48 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 0.0001277/0.4449, allocations: 101.8 kB / 0.5248 GB, free: 30.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.4461, allocations: 170.9 kB / 0.5249 GB, free: 30.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4462, allocations: 0 / 0.5249 GB, free: 30.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003543/0.4465, allocations: 72.11 kB / 0.525 GB, free: 30.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005652/0.4471, allocations: 10.25 kB / 0.525 GB, free: 30.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.4491, allocations: 0.5278 MB / 0.5255 GB, free: 30 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.4492, allocations: 0.7072 MB / 0.5262 GB, free: 29.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.4494, allocations: 8.188 kB / 0.5262 GB, free: 29.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/0.4494, allocations: 20.22 kB / 0.5262 GB, free: 29.29 MB / 378.7 MB Notification: Performance of SimCode: time 6.71e-07/0.4494, allocations: 0 / 0.5262 GB, free: 29.29 MB / 378.7 MB Notification: Performance of Templates: time 0.005044/0.4545, allocations: 1.608 MB / 0.5278 GB, free: 29.15 MB / 378.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@2/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