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.0008119/0.000812, allocations: 95.25 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008693/0.0008694, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.7 MB / 247.5 MB, free: 9.504 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2217/0.2217, allocations: 46.19 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002593/0.0002593, allocations: 11.98 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1157, allocations: 63.56 MB / 483.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002171/0.1179, allocations: 1.627 MB / 485.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.119, allocations: 0.5728 MB / 485.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.253e-05/0.1191, allocations: 0 / 485.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.436e-05/0.1191, allocations: 15.86 kB / 485.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.1194, allocations: 35.75 kB / 486 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.1196, allocations: 75.48 kB / 486 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.1198, allocations: 151.4 kB / 486.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.12, allocations: 29.09 kB / 486.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.1202, allocations: 67.7 kB / 486.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.1203, allocations: 55.75 kB / 486.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.1204, allocations: 8 kB / 486.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.625e-05/0.1204, allocations: 8 kB / 486.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.993e-05/0.1205, allocations: 23.91 kB / 486.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.567e-05/0.1205, allocations: 85.36 kB / 486.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.1207, allocations: 103.9 kB / 486.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1207, allocations: 4 kB / 486.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1207, allocations: 0 / 486.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1207, allocations: 0 / 486.6 MB, free: 1.27 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.0007376/0.1215, allocations: 443.1 kB / 487 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.1215, allocations: 8.031 kB / 487 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003067/0.1218, allocations: 40.81 kB / 487.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.122, allocations: 192.1 kB / 487.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.122, allocations: 8.375 kB / 487.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.1221, allocations: 8.375 kB / 487.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/0.1224, allocations: 136.5 kB / 487.4 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1224, allocations: 0 / 487.4 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.1224, allocations: 8 kB / 487.4 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1225, allocations: 4 kB / 487.4 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003331/0.1228, allocations: 99.92 kB / 487.5 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008485/0.1237, allocations: 463.3 kB / 488 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.124, allocations: 102.5 kB / 488.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.1241, allocations: 48.92 kB / 488.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.1242, allocations: 4 kB / 488.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.1242, allocations: 30.56 kB / 488.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.1242, allocations: 0 / 488.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.001428/0.1256, allocations: 365.3 kB / 488.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.1257, allocations: 102.8 kB / 488.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.1259, allocations: 156 kB / 488.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1259, allocations: 25.7 kB / 488.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.453e-05/0.126, allocations: 112.1 kB / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.126, allocations: 23.7 kB / 488.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.126, allocations: 13.72 kB / 488.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1262, allocations: 318.8 kB / 489.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.1264, allocations: 71.95 kB / 489.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.1267, allocations: 112.1 kB / 489.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005088/0.1272, allocations: 154.5 kB / 489.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1272, allocations: 4 kB / 489.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005886/0.1278, allocations: 197.4 kB / 489.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.1279, allocations: 13.97 kB / 489.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1279, allocations: 0 / 489.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.1279, allocations: 4.031 kB / 489.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000607/0.1285, allocations: 99.91 kB / 489.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.13, allocations: 1.406 MB / 491.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.1302, allocations: 32.11 kB / 491.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.1303, allocations: 7.984 kB / 491.3 MB, free: 12.12 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 0.0001099/0.1304, allocations: 121.7 kB / 491.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.1304, allocations: 7.906 kB / 491.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005294/0.131, allocations: 190.2 kB / 491.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.131, allocations: 4 kB / 491.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.131, allocations: 4.062 kB / 491.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.131, allocations: 3.984 kB / 491.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008201/0.1318, allocations: 482.3 kB / 492.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1318, allocations: 4 kB / 492.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.132, allocations: 35.97 kB / 492.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.132, allocations: 4 kB / 492.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.132, allocations: 0 / 492.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.132, allocations: 0 / 492.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.132, allocations: 0 / 492.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005515/0.1326, allocations: 275.3 kB / 492.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.1327, allocations: 85.02 kB / 492.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.1327, allocations: 0 / 492.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.1329, allocations: 31.97 kB / 492.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.133, allocations: 15.92 kB / 492.6 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.133, allocations: 0 / 492.6 MB, free: 10.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.031e-05/0.1331, allocations: 117.6 kB / 492.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1331, allocations: 0 / 492.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1333, allocations: 24 kB / 492.7 MB, free: 10.64 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 0.000104/0.1334, allocations: 99.23 kB / 492.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008904/0.1343, allocations: 199.9 kB / 493 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.1344, allocations: 0 / 493 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002478/0.1346, allocations: 79.89 kB / 493.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.1349, allocations: 8.188 kB / 493.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.1362, allocations: 459 kB / 493.5 MB, free: 9.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.1365, allocations: 0.7043 MB / 494.2 MB, free: 9.039 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.219e-05/0.1366, allocations: 19.42 kB / 494.2 MB, free: 9.02 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1366, allocations: 0 / 494.2 MB, free: 9.02 MB / 366.1 MB Notification: Performance of Templates: time 0.003601/0.1402, allocations: 1.81 MB / 496 MB, free: 7.215 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/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