Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001301/0.001301, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001314/0.001314, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 247.5 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2381/0.2381, allocations: 46.12 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 86.61 kB / 418.3 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1205, allocations: 62.45 MB / 480.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003312/0.1238, allocations: 1.689 MB / 482.5 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.1256, allocations: 1.006 MB / 483.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.457e-05/0.1257, allocations: 7.938 kB / 483.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.126, allocations: 63.78 kB / 483.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.1263, allocations: 107.5 kB / 483.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.1265, allocations: 71.73 kB / 483.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.1267, allocations: 111.6 kB / 483.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.1268, allocations: 4.234 kB / 483.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.878e-05/0.1269, allocations: 51.78 kB / 483.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.127, allocations: 43.83 kB / 483.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.127, allocations: 4 kB / 483.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.161e-05/0.1271, allocations: 24 kB / 483.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.1272, allocations: 19.92 kB / 484 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.283e-05/0.1272, allocations: 39.72 kB / 484 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.1274, allocations: 103.9 kB / 484.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1274, allocations: 0 / 484.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1274, allocations: 0 / 484.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1275, allocations: 0 / 484.1 MB, free: 1.848 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005804/0.128, allocations: 414.9 kB / 484.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1281, allocations: 8.031 kB / 484.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.1281, allocations: 12.84 kB / 484.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.1284, allocations: 204.8 kB / 484.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1284, allocations: 4.375 kB / 484.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.1285, allocations: 12.06 kB / 484.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.1286, allocations: 57.59 kB / 484.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1286, allocations: 0 / 484.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.1287, allocations: 0 / 484.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1287, allocations: 4 kB / 484.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.855e-05/0.1287, allocations: 15.98 kB / 484.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000222/0.129, allocations: 177.7 kB / 485 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.1291, allocations: 46.62 kB / 485 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.994e-05/0.1292, allocations: 24.78 kB / 485.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.1292, allocations: 8 kB / 485.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.1295, allocations: 67.33 kB / 485.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.1295, allocations: 0 / 485.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002848/0.1298, allocations: 97.48 kB / 485.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.1298, allocations: 51.41 kB / 485.3 MB, free: 496 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.13, allocations: 198.3 kB / 485.5 MB, free: 288 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.1301, allocations: 25.7 kB / 485.5 MB, free: 256 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.1301, allocations: 108.1 kB / 485.6 MB, free: 144 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.1302, allocations: 11.89 kB / 485.6 MB, free: 132 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.1302, allocations: 21.72 kB / 485.6 MB, free: 104 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1304, allocations: 318.8 kB / 486 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.001e-05/0.1305, allocations: 15.94 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.076e-05/0.1305, allocations: 33.69 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.1307, allocations: 49.95 kB / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1307, allocations: 0 / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001738/0.1308, allocations: 89.38 kB / 486.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1309, allocations: 4 kB / 486.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1309, allocations: 0 / 486.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1309, allocations: 0 / 486.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.586e-05/0.131, allocations: 15.98 kB / 486.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.131, allocations: 0 / 486.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.131, allocations: 8 kB / 486.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.1311, allocations: 4.031 kB / 486.2 MB, free: 15.55 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 (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 prepare postOptimizeDAE: time 0.0001198/0.1312, allocations: 129.7 kB / 486.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.1312, allocations: 15.81 kB / 486.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.1313, allocations: 13 kB / 486.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.1313, allocations: 0 / 486.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1313, allocations: 3.938 kB / 486.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1313, allocations: 0 / 486.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.1315, allocations: 193.5 kB / 486.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1315, allocations: 0 / 486.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.118e-05/0.1315, allocations: 8 kB / 486.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.1315, allocations: 0 / 486.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1315, allocations: 0 / 486.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1315, allocations: 4 kB / 486.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.1316, allocations: 3.984 kB / 486.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.1317, allocations: 105 kB / 486.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.293e-05/0.1318, allocations: 85 kB / 486.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.1318, allocations: 4 kB / 486.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.683e-05/0.1319, allocations: 8.125 kB / 486.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.1319, allocations: 11.94 kB / 486.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.132, allocations: 3.984 kB / 486.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.1321, allocations: 140.2 kB / 486.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1321, allocations: 0 / 486.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.1323, allocations: 23.98 kB / 486.9 MB, free: 14.71 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001474/0.1338, allocations: 396.2 kB / 487.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001752/0.134, allocations: 47.98 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.134, allocations: 3.938 kB / 487.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.424e-05/0.1341, allocations: 23.97 kB / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.1344, allocations: 34.45 kB / 487.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/0.1349, allocations: 235.7 kB / 487.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.1352, allocations: 0.7049 MB / 488.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.1353, allocations: 19.42 kB / 488.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1353, allocations: 0 / 488.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of Templates: time 0.003815/0.1391, allocations: 1.729 MB / 490.1 MB, free: 11.61 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches