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.001537/0.001536, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002071/0.002071, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2338/0.2338, allocations: 46.12 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002438/0.002438, allocations: 76.03 kB / 417.6 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1232, allocations: 62.44 MB / 480 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003732/0.127, allocations: 1.911 MB / 481.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000976/0.128, allocations: 0.5883 MB / 482.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.559e-05/0.128, allocations: 0 / 482.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.54e-05/0.1281, allocations: 15.84 kB / 482.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.1283, allocations: 43.64 kB / 482.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.1286, allocations: 91.25 kB / 482.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.1288, allocations: 151.4 kB / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.129, allocations: 37.09 kB / 482.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.1292, allocations: 75.7 kB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.1294, allocations: 67.73 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.1294, allocations: 19.94 kB / 483 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.418e-05/0.1295, allocations: 16 kB / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.675e-05/0.1295, allocations: 23.92 kB / 483 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.579e-05/0.1296, allocations: 63.72 kB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.1299, allocations: 143.8 kB / 483.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.1299, allocations: 4 kB / 483.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1299, allocations: 0 / 483.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1299, allocations: 0 / 483.2 MB, free: 2.047 MB / 350.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.0008494/0.1308, allocations: 447 kB / 483.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1308, allocations: 8.031 kB / 483.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003167/0.1312, allocations: 52.72 kB / 483.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.1313, allocations: 186.8 kB / 483.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1313, allocations: 12.31 kB / 483.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.1314, allocations: 4.375 kB / 483.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003741/0.1318, allocations: 136.4 kB / 484.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1318, allocations: 4 kB / 484.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.1318, allocations: 4 kB / 484.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.1318, allocations: 4 kB / 484.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003134/0.1321, allocations: 95.86 kB / 484.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000889/0.133, allocations: 463.3 kB / 484.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.1333, allocations: 90.52 kB / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.1335, allocations: 40.92 kB / 484.8 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.1335, allocations: 0 / 484.8 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.1335, allocations: 30.56 kB / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1335, allocations: 8 kB / 484.8 MB, free: 328 kB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.001383/0.1349, allocations: 317.1 kB / 485.1 MB, free: 4 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/0.135, allocations: 106.8 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.1352, allocations: 148.2 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1352, allocations: 29.7 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.415e-05/0.1353, allocations: 112.1 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.1353, allocations: 19.7 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-05/0.1354, allocations: 29.7 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1355, allocations: 318.8 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.1358, allocations: 59.94 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.136, allocations: 96.23 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004279/0.1364, allocations: 138.5 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1365, allocations: 7.938 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004995/0.137, allocations: 177.4 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.137, allocations: 7.938 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.137, allocations: 0 / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.137, allocations: 4 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005858/0.1376, allocations: 83.97 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.1391, allocations: 1.497 MB / 487.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.1393, allocations: 24.11 kB / 487.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.1393, allocations: 7.984 kB / 487.9 MB, free: 12.93 MB / 366.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 9.618e-05/0.1394, allocations: 129.7 kB / 488.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.1395, allocations: 7.906 kB / 488.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005013/0.14, allocations: 170.4 kB / 488.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.14, allocations: 192 / 488.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.41e-07/0.14, allocations: 0 / 488.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.14, allocations: 7.922 kB / 488.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008626/0.1409, allocations: 462.3 kB / 488.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1409, allocations: 0 / 488.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.1411, allocations: 32.03 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1411, allocations: 4 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1411, allocations: 0 / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1411, allocations: 7.938 kB / 488.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1411, allocations: 4 kB / 488.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005096/0.1416, allocations: 251.3 kB / 489 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.1417, allocations: 81.02 kB / 489.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.1417, allocations: 0 / 489.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.1419, allocations: 31.91 kB / 489.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.142, allocations: 7.984 kB / 489.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.142, allocations: 0 / 489.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.134e-05/0.1421, allocations: 117.5 kB / 489.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1421, allocations: 0 / 489.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1424, allocations: 24 kB / 489.3 MB, free: 11.52 MB / 366.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 8.476e-05/0.1425, allocations: 103.2 kB / 489.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008776/0.1433, allocations: 175.9 kB / 489.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1434, allocations: 0 / 489.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.1436, allocations: 67.89 kB / 489.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.1439, allocations: 16.22 kB / 489.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.1451, allocations: 384.3 kB / 490 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.1454, allocations: 0.7041 MB / 490.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.426e-05/0.1455, allocations: 12.42 kB / 490.7 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.97e-05/0.1455, allocations: 11.44 kB / 490.7 MB, free: 9.996 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1455, allocations: 0 / 490.7 MB, free: 9.996 MB / 366.1 MB Notification: Performance of Templates: time 0.00408/0.1496, allocations: 1.705 MB / 492.4 MB, free: 8.301 MB / 366.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