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.001121/0.001121, allocations: 117.8 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00128/0.00128, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2119/0.2119, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 79.86 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3487, allocations: 62.43 MB / 0.5316 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002886/0.3517, allocations: 1.917 MB / 0.5335 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.3527, allocations: 0.5826 MB / 0.5341 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.267e-05/0.3528, allocations: 5.594 kB / 0.5341 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.668e-05/0.3528, allocations: 13.3 kB / 0.5341 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.353, allocations: 40.19 kB / 0.5341 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.3533, allocations: 79.23 kB / 0.5342 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.3535, allocations: 157.3 kB / 0.5344 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.3537, allocations: 32.22 kB / 0.5344 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.3539, allocations: 81.95 kB / 0.5345 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.354, allocations: 66.98 kB / 0.5345 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.354, allocations: 12.38 kB / 0.5346 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.81e-05/0.3541, allocations: 15.12 kB / 0.5346 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.298e-05/0.3541, allocations: 32.03 kB / 0.5346 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.401e-05/0.3542, allocations: 60.17 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.3544, allocations: 154.3 kB / 0.5348 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3544, allocations: 0 / 0.5348 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.3544, allocations: 1.375 kB / 0.5348 GB, free: 11.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3544, allocations: 0 / 0.5348 GB, free: 11.13 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.0007554/0.3552, allocations: 443.5 kB / 0.5352 GB, free: 10.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3552, allocations: 9.625 kB / 0.5352 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003148/0.3556, allocations: 45.47 kB / 0.5353 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.3557, allocations: 189.8 kB / 0.5355 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.3558, allocations: 3.125 kB / 0.5355 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.3558, allocations: 13.81 kB / 0.5355 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.3562, allocations: 146.5 kB / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3562, allocations: 0 / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.3562, allocations: 5.375 kB / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.3562, allocations: 1.375 kB / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.3565, allocations: 91.61 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008146/0.3574, allocations: 451.8 kB / 0.5361 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.3577, allocations: 97.27 kB / 0.5362 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.3578, allocations: 40.95 kB / 0.5363 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.3579, allocations: 1.375 kB / 0.5363 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.3579, allocations: 31.84 kB / 0.5363 GB, free: 9.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.3579, allocations: 0 / 0.5363 GB, free: 9.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.001382/0.3593, allocations: 321 kB / 0.5366 GB, free: 9.578 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.3594, allocations: 103.9 kB / 0.5367 GB, free: 9.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.3595, allocations: 148.9 kB / 0.5369 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.3595, allocations: 26.95 kB / 0.5369 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.3597, allocations: 117.8 kB / 0.537 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.3598, allocations: 25.83 kB / 0.537 GB, free: 9.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.3598, allocations: 29.7 kB / 0.537 GB, free: 9.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.3599, allocations: 321.1 kB / 0.5373 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.3602, allocations: 55.86 kB / 0.5374 GB, free: 8.785 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.3605, allocations: 102.2 kB / 0.5375 GB, free: 8.707 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004143/0.3609, allocations: 130.6 kB / 0.5376 GB, free: 8.633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3609, allocations: 0 / 0.5376 GB, free: 8.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005395/0.3615, allocations: 182 kB / 0.5378 GB, free: 8.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3615, allocations: 6.344 kB / 0.5378 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3615, allocations: 3.938 kB / 0.5378 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3615, allocations: 1.531 kB / 0.5378 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006149/0.3621, allocations: 95.78 kB / 0.5379 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.3637, allocations: 1.507 MB / 0.5394 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.3639, allocations: 23.34 kB / 0.5394 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.3639, allocations: 7.188 kB / 0.5394 GB, free: 6.914 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.0001532/0.3641, allocations: 126.1 kB / 0.5395 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.3641, allocations: 9.438 kB / 0.5395 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005121/0.3647, allocations: 169 kB / 0.5397 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3647, allocations: 1.125 kB / 0.5397 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.3647, allocations: 0 / 0.5397 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.906e-05/0.3648, allocations: 86.92 kB / 0.5398 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.3648, allocations: 6.094 kB / 0.5398 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.365, allocations: 21.31 kB / 0.5398 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.3651, allocations: 7.422 kB / 0.5398 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006283/0.3657, allocations: 249.6 kB / 0.54 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006287/0.3664, allocations: 326.4 kB / 0.5404 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00026/0.3666, allocations: 64.5 kB / 0.5404 GB, free: 6.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.034e-05/0.3667, allocations: 121.2 kB / 0.5405 GB, free: 5.996 MB / 398.1 MB Notification: Performance of Backend: time 6.61e-07/0.3668, allocations: 0 / 0.5405 GB, free: 5.996 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.3678, allocations: 199.2 kB / 0.5407 GB, free: 5.875 MB / 398.1 MB Notification: Performance of SimCode: time 0.0008612/0.3687, allocations: 0.6661 MB / 0.5414 GB, free: 5.227 MB / 398.1 MB Notification: Performance of Templates: time 0.005621/0.3743, allocations: 2.004 MB / 0.5433 GB, free: 4.184 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches