Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001138/0.001138, allocations: 114.7 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 204.5 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2182/0.2182, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.00135, allocations: 79.88 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1303, allocations: 62.44 MB / 481.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003169/0.1335, allocations: 1.688 MB / 483.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.1351, allocations: 1.002 MB / 484.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.189e-05/0.1352, allocations: 4 kB / 484.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002971/0.1355, allocations: 55.75 kB / 484.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003058/0.1359, allocations: 99.53 kB / 484.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.1361, allocations: 67.73 kB / 484.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.1362, allocations: 99.7 kB / 484.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.508e-05/0.1363, allocations: 8.234 kB / 484.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.231e-05/0.1364, allocations: 43.77 kB / 484.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.26e-05/0.1365, allocations: 27.8 kB / 484.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.1365, allocations: 4 kB / 484.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.886e-05/0.1366, allocations: 31.98 kB / 484.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.385e-05/0.1366, allocations: 31.84 kB / 484.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.36e-05/0.1367, allocations: 35.69 kB / 484.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.1369, allocations: 131.5 kB / 484.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1369, allocations: 4 kB / 484.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1369, allocations: 4 kB / 484.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1369, allocations: 0 / 484.8 MB, free: 1.164 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.0005603/0.1375, allocations: 426.8 kB / 485.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.1375, allocations: 12.03 kB / 485.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.1376, allocations: 12.75 kB / 485.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.1379, allocations: 224.8 kB / 485.5 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.1379, allocations: 384 / 485.5 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.1379, allocations: 12.12 kB / 485.5 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.1381, allocations: 53.66 kB / 485.5 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.1381, allocations: 3.938 kB / 485.5 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.1381, allocations: 0 / 485.5 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1381, allocations: 4 kB / 485.5 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.614e-05/0.1382, allocations: 19.92 kB / 485.5 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/0.1384, allocations: 189.7 kB / 485.7 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.1385, allocations: 50.62 kB / 485.8 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.221e-05/0.1386, allocations: 21.05 kB / 485.8 MB, free: 16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.1386, allocations: 11.88 kB / 485.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.1388, allocations: 71.33 kB / 485.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.1388, allocations: 0 / 485.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002632/0.139, allocations: 97.48 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.1391, allocations: 55.41 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.1393, allocations: 267 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1394, allocations: 29.69 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.1394, allocations: 112.1 kB / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.1395, allocations: 11.91 kB / 486.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.1395, allocations: 17.72 kB / 486.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1396, allocations: 322.8 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.307e-05/0.1397, allocations: 15.98 kB / 486.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.71e-05/0.1397, allocations: 41.69 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.28e-05/0.1398, allocations: 41.66 kB / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1399, allocations: 0 / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001509/0.14, allocations: 93.36 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.14, allocations: 4 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.14, allocations: 0 / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1401, allocations: 8.031 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.902e-05/0.1401, allocations: 8 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1401, allocations: 0 / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.1402, allocations: 15.83 kB / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.1402, allocations: 0 / 487 MB, free: 14.71 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.0001019/0.1403, allocations: 136.2 kB / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.1403, allocations: 15.84 kB / 487.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.1404, allocations: 17.16 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1404, allocations: 0 / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1404, allocations: 4 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1404, allocations: 3.984 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.1406, allocations: 201.5 kB / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1406, allocations: 4 kB / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.786e-05/0.1406, allocations: 4.25 kB / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1406, allocations: 0 / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.1406, allocations: 4 kB / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.1406, allocations: 4 kB / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1406, allocations: 7.922 kB / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.1408, allocations: 120.9 kB / 487.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.1409, allocations: 84.92 kB / 487.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.1409, allocations: 4 kB / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.751e-05/0.1409, allocations: 3.984 kB / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.141, allocations: 4 kB / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.141, allocations: 0 / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001654/0.1412, allocations: 212.4 kB / 487.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1412, allocations: 0 / 487.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002058/0.1414, allocations: 12 kB / 487.8 MB, free: 13.8 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.0008891/0.1423, allocations: 409.5 kB / 488.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.1424, allocations: 35.98 kB / 488.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1424, allocations: 0 / 488.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.883e-05/0.1425, allocations: 23.92 kB / 488.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.1428, allocations: 31.48 kB / 488.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.1433, allocations: 274.5 kB / 488.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.1435, allocations: 0.7158 MB / 489.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.465e-05/0.1436, allocations: 12.55 kB / 489.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.1436, allocations: 11.44 kB / 489.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1436, allocations: 7.938 kB / 489.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of Templates: time 0.00401/0.1476, allocations: 1.532 MB / 490.9 MB, free: 10.85 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches