Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001062/0.001062, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2144/0.2144, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 77.12 kB / 417.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1345, allocations: 62.45 MB / 480 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003729/0.1383, allocations: 1.935 MB / 482 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.1401, allocations: 1.06 MB / 483 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.1403, allocations: 7.938 kB / 483 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.1407, allocations: 39.7 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003611/0.1411, allocations: 99.53 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.1414, allocations: 87.66 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.1416, allocations: 155.5 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.1418, allocations: 25.55 kB / 483.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.1419, allocations: 55.73 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.142, allocations: 51.7 kB / 483.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.142, allocations: 8 kB / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.1421, allocations: 43.98 kB / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.225e-05/0.1422, allocations: 27.86 kB / 483.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.598e-05/0.1423, allocations: 55.66 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.1426, allocations: 151.7 kB / 483.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1426, allocations: 3.938 kB / 483.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1426, allocations: 0 / 483.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1426, allocations: 4 kB / 483.8 MB, free: 1.43 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006692/0.1433, allocations: 476.5 kB / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1433, allocations: 8.031 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.918e-05/0.1434, allocations: 24.73 kB / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.1437, allocations: 229.6 kB / 484.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1437, allocations: 8.312 kB / 484.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.1437, allocations: 12.12 kB / 484.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.144, allocations: 112.2 kB / 484.7 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.144, allocations: 0 / 484.7 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.144, allocations: 0 / 484.7 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.144, allocations: 8 kB / 484.7 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.1442, allocations: 51.89 kB / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006595/0.1449, allocations: 0.5126 MB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.1452, allocations: 82.66 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1453, allocations: 40.83 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.1454, allocations: 8 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000276/0.1456, allocations: 91.23 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.572e-06/0.1457, allocations: 0 / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004104/0.1461, allocations: 145.4 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.1461, allocations: 55.34 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.1463, allocations: 202.2 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.1464, allocations: 25.7 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.427e-05/0.1464, allocations: 116 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.1465, allocations: 35.55 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.1465, allocations: 25.72 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1467, allocations: 330.8 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.2e-05/0.1468, allocations: 27.98 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.1469, allocations: 64.39 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.1471, allocations: 100.2 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.1471, allocations: 0 / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002708/0.1474, allocations: 141.3 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1474, allocations: 4 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1474, allocations: 4 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1474, allocations: 480 / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.1476, allocations: 27.92 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1476, allocations: 0 / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.115e-05/0.1477, allocations: 15.92 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1477, allocations: 4 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001124/0.1478, allocations: 140.4 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.1478, allocations: 11.81 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.185e-05/0.1479, allocations: 21.39 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1479, allocations: 3.938 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1479, allocations: 0 / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1479, allocations: 3.938 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.1481, allocations: 209.5 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1481, allocations: 0 / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-05/0.1482, allocations: 19.98 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1482, allocations: 0 / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1482, allocations: 0 / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.1482, allocations: 11.94 kB / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1482, allocations: 0 / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/0.1486, allocations: 176.9 kB / 487.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.1487, allocations: 92.89 kB / 487.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.1487, allocations: 0 / 487.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.79e-05/0.1488, allocations: 15.94 kB / 487.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.1489, allocations: 15.98 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.1489, allocations: 4 kB / 487.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.149, allocations: 144.4 kB / 487.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.149, allocations: 0 / 487.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.1493, allocations: 27.98 kB / 487.6 MB, free: 13.23 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0009513/0.1503, allocations: 393.3 kB / 488 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002679/0.1505, allocations: 95.78 kB / 488.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1505, allocations: 0 / 488.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.1507, allocations: 39.97 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.151, allocations: 37.98 kB / 488.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005867/0.1516, allocations: 259.7 kB / 488.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.1519, allocations: 0.7201 MB / 489.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.399e-05/0.152, allocations: 25.41 kB / 489.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.1521, allocations: 15.44 kB / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1521, allocations: 0 / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of Templates: time 0.005232/0.1573, allocations: 1.895 MB / 491.1 MB, free: 9.871 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches