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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001174/0.001174, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2594/0.2594, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 83.86 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4274, allocations: 62.41 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003431/0.4309, allocations: 1.921 MB / 0.5328 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.432, allocations: 0.5815 MB / 0.5334 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.42e-05/0.4321, allocations: 2.75 kB / 0.5334 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.761e-05/0.4321, allocations: 11.86 kB / 0.5334 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.4324, allocations: 41.19 kB / 0.5335 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.4326, allocations: 79.08 kB / 0.5335 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.4328, allocations: 161.2 kB / 0.5337 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.4329, allocations: 40.22 kB / 0.5337 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.4331, allocations: 77.89 kB / 0.5338 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.4332, allocations: 63 kB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.4333, allocations: 12.38 kB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.125e-05/0.4333, allocations: 19.12 kB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.4334, allocations: 28.03 kB / 0.5339 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.237e-05/0.4335, allocations: 65.53 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.4337, allocations: 149.6 kB / 0.5341 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4337, allocations: 0 / 0.5341 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4337, allocations: 0 / 0.5341 GB, free: 11.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.4337, allocations: 1.438 kB / 0.5341 GB, free: 11.12 MB / 398.1 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.0008087/0.4345, allocations: 443.1 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.4346, allocations: 10.44 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003037/0.4349, allocations: 40.91 kB / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.4351, allocations: 192.1 kB / 0.5348 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.4351, allocations: 7.438 kB / 0.5348 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.4351, allocations: 5.438 kB / 0.5348 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.4355, allocations: 149.2 kB / 0.5349 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.4355, allocations: 0 / 0.5349 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.4355, allocations: 9.109 kB / 0.5349 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.4355, allocations: 1.094 kB / 0.5349 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.4359, allocations: 96.05 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008538/0.4367, allocations: 442.7 kB / 0.5355 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.4371, allocations: 98.58 kB / 0.5356 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.4372, allocations: 41.7 kB / 0.5356 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.4373, allocations: 0 / 0.5356 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.4373, allocations: 35.66 kB / 0.5356 GB, free: 9.746 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4373, allocations: 0.9688 kB / 0.5356 GB, free: 9.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.001369/0.4387, allocations: 316.2 kB / 0.5359 GB, free: 9.578 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.4387, allocations: 111.9 kB / 0.536 GB, free: 9.445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.4389, allocations: 144.9 kB / 0.5362 GB, free: 9.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.4389, allocations: 30.83 kB / 0.5362 GB, free: 9.289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.522e-05/0.439, allocations: 113.5 kB / 0.5363 GB, free: 9.176 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.439, allocations: 22.44 kB / 0.5363 GB, free: 9.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.832e-05/0.4391, allocations: 29.67 kB / 0.5364 GB, free: 9.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4392, allocations: 321.9 kB / 0.5367 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.4395, allocations: 59.7 kB / 0.5367 GB, free: 8.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/0.4398, allocations: 97.95 kB / 0.5368 GB, free: 8.707 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004505/0.4402, allocations: 134.7 kB / 0.537 GB, free: 8.629 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.4402, allocations: 0 / 0.537 GB, free: 8.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005511/0.4408, allocations: 178.6 kB / 0.5371 GB, free: 8.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.4408, allocations: 8.625 kB / 0.5371 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.4408, allocations: 1 kB / 0.5371 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.4408, allocations: 5.078 kB / 0.5371 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006019/0.4415, allocations: 95.94 kB / 0.5372 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/0.443, allocations: 1.503 MB / 0.5387 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.4433, allocations: 31.97 kB / 0.5387 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.4433, allocations: 1.906 kB / 0.5387 GB, free: 6.91 MB / 398.1 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.0001253/0.4434, allocations: 122.6 kB / 0.5388 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.4435, allocations: 9.375 kB / 0.5389 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000522/0.444, allocations: 169.1 kB / 0.539 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.444, allocations: 1.625 kB / 0.539 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.444, allocations: 0 / 0.539 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.444, allocations: 1.375 kB / 0.539 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008352/0.4449, allocations: 465.7 kB / 0.5395 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4449, allocations: 0 / 0.5395 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.445, allocations: 30.97 kB / 0.5395 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.4451, allocations: 1.406 kB / 0.5395 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.4451, allocations: 8 kB / 0.5395 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4451, allocations: 5.344 kB / 0.5395 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4451, allocations: 0 / 0.5395 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000524/0.4456, allocations: 246.5 kB / 0.5397 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.743e-05/0.4457, allocations: 83.55 kB / 0.5398 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.4457, allocations: 1.219 kB / 0.5398 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.4459, allocations: 26.31 kB / 0.5398 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.446, allocations: 11.23 kB / 0.5399 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-06/0.446, allocations: 1.594 kB / 0.5399 GB, free: 5.938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.246e-05/0.4461, allocations: 125.4 kB / 0.54 GB, free: 5.836 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.054e-06/0.4461, allocations: 0 / 0.54 GB, free: 5.836 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.4464, allocations: 33.59 kB / 0.54 GB, free: 5.828 MB / 398.1 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.0001137/0.4465, allocations: 97.22 kB / 0.5401 GB, free: 5.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008996/0.4474, allocations: 173.9 kB / 0.5403 GB, free: 5.664 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.4474, allocations: 0 / 0.5403 GB, free: 5.664 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002529/0.4477, allocations: 63.89 kB / 0.5403 GB, free: 5.637 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.4481, allocations: 18.23 kB / 0.5403 GB, free: 5.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.4495, allocations: 377.6 kB / 0.5407 GB, free: 5.395 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.4497, allocations: 0.6991 MB / 0.5414 GB, free: 4.688 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.171e-05/0.4498, allocations: 19.91 kB / 0.5414 GB, free: 4.676 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.4499, allocations: 21.09 kB / 0.5414 GB, free: 4.66 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4499, allocations: 0 / 0.5414 GB, free: 4.66 MB / 398.1 MB Notification: Performance of Templates: time 0.004756/0.4547, allocations: 1.763 MB / 0.5432 GB, free: 3.746 MB / 398.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches