Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000743/0.0007431, allocations: 95.8 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008354/0.0008354, allocations: 200.8 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.7 MB / 247.5 MB, free: 11.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2095/0.2095, allocations: 46.18 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003075/0.0003075, allocations: 11.98 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1364, allocations: 63.56 MB / 483.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002254/0.1387, allocations: 1.466 MB / 485.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.1404, allocations: 0.9902 MB / 486.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.315e-05/0.1405, allocations: 4 kB / 486.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003496/0.1408, allocations: 83.81 kB / 486.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.1412, allocations: 107.6 kB / 486.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.1413, allocations: 63.89 kB / 486.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.1415, allocations: 119.7 kB / 486.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1417, allocations: 8 kB / 486.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1418, allocations: 51.72 kB / 486.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.1419, allocations: 67.73 kB / 486.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.1419, allocations: 4 kB / 486.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.142, allocations: 55.97 kB / 486.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.497e-05/0.1421, allocations: 23.92 kB / 486.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.535e-05/0.1422, allocations: 69.31 kB / 486.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.1424, allocations: 108 kB / 486.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1424, allocations: 4 kB / 487 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1424, allocations: 0 / 487 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1424, allocations: 0 / 487 MB, free: 0.9102 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005397/0.1429, allocations: 411.1 kB / 487.4 MB, free: 472 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.143, allocations: 12.88 kB / 487.4 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.143, allocations: 16.75 kB / 487.4 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.1433, allocations: 220.7 kB / 487.6 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.1433, allocations: 8.359 kB / 487.6 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.1433, allocations: 4.125 kB / 487.6 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.1435, allocations: 69.59 kB / 487.7 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1435, allocations: 0 / 487.7 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1435, allocations: 0 / 487.7 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1435, allocations: 4 kB / 487.7 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.548e-05/0.1436, allocations: 27.92 kB / 487.7 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004059/0.144, allocations: 300.7 kB / 488 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.1443, allocations: 66.48 kB / 488.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.804e-05/0.1443, allocations: 20.97 kB / 488.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.1444, allocations: 4 kB / 488.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.1446, allocations: 71.33 kB / 488.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.1446, allocations: 0 / 488.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007526/0.1453, allocations: 249.1 kB / 488.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.1454, allocations: 55.34 kB / 488.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.1456, allocations: 243 kB / 488.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.1456, allocations: 25.7 kB / 488.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.649e-05/0.1457, allocations: 116 kB / 488.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.1458, allocations: 39.48 kB / 488.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.1458, allocations: 17.72 kB / 488.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1459, allocations: 322.8 kB / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.807e-05/0.146, allocations: 27.98 kB / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.937e-05/0.1461, allocations: 49.69 kB / 489.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.1463, allocations: 77.72 kB / 489.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1463, allocations: 0 / 489.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002108/0.1465, allocations: 129.4 kB / 489.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1465, allocations: 6.344 kB / 489.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.1465, allocations: 4 kB / 489.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1465, allocations: 0 / 489.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.374e-05/0.1466, allocations: 23.98 kB / 489.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.1466, allocations: 7.875 kB / 489.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.929e-05/0.1467, allocations: 8.031 kB / 489.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1467, allocations: 4 kB / 489.5 MB, free: 14.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 0.0001232/0.1468, allocations: 132.5 kB / 489.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.1469, allocations: 15.81 kB / 489.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.184e-05/0.1469, allocations: 25.39 kB / 489.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.1469, allocations: 0 / 489.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1469, allocations: 3.938 kB / 489.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.147, allocations: 0 / 489.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005472/0.1475, allocations: 460 kB / 490.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1475, allocations: 0 / 490.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.089e-05/0.1476, allocations: 19.98 kB / 490.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.1476, allocations: 4.094 kB / 490.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.1476, allocations: 3.938 kB / 490.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1476, allocations: 7.938 kB / 490.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.1476, allocations: 3.938 kB / 490.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.1479, allocations: 229.1 kB / 490.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.802e-05/0.148, allocations: 96.91 kB / 490.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.148, allocations: 4 kB / 490.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.977e-05/0.1481, allocations: 8 kB / 490.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.1481, allocations: 7.984 kB / 490.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.1482, allocations: 8 kB / 490.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001635/0.1483, allocations: 176.4 kB / 490.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1483, allocations: 3.938 kB / 490.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.1486, allocations: 31.98 kB / 490.8 MB, free: 12.76 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001276/0.1499, allocations: 0.4987 MB / 491.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.1501, allocations: 75.91 kB / 491.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1501, allocations: 4.062 kB / 491.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.362e-05/0.1502, allocations: 47.86 kB / 491.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.1506, allocations: 31.92 kB / 491.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005782/0.1512, allocations: 349.6 kB / 491.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.1515, allocations: 0.7121 MB / 492.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.568e-05/0.1516, allocations: 31.36 kB / 492.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1516, allocations: 0 / 492.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of Templates: time 0.004166/0.1557, allocations: 2.228 MB / 494.7 MB, free: 8.918 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches