Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001159/0.001159, allocations: 114.7 kB / 18.41 MB, free: 4.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001179/0.001179, allocations: 212.5 kB / 19.36 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2099/0.2099, allocations: 46.12 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 79.94 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1059, allocations: 62.44 MB / 481.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002938/0.1089, allocations: 1.828 MB / 483.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.1105, allocations: 1.099 MB / 484.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.762e-05/0.1106, allocations: 3.938 kB / 484.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004546/0.1111, allocations: 299.3 kB / 484.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004247/0.1115, allocations: 255.2 kB / 484.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.1118, allocations: 111.6 kB / 485 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.1121, allocations: 255.3 kB / 485.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.2e-05/0.1121, allocations: 13.67 kB / 485.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.1123, allocations: 127.5 kB / 485.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.1125, allocations: 196 kB / 485.6 MB, free: 340 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.1125, allocations: 8 kB / 485.6 MB, free: 332 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.195e-05/0.1126, allocations: 47.98 kB / 485.7 MB, free: 284 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.1127, allocations: 132.5 kB / 485.8 MB, free: 152 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.1129, allocations: 146.8 kB / 486 MB, free: 4 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.1132, allocations: 370.7 kB / 486.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.1132, allocations: 0 / 486.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1133, allocations: 0 / 486.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1133, allocations: 0 / 486.3 MB, free: 15.64 MB / 366.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.0008817/0.1141, allocations: 0.7307 MB / 487 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.1142, allocations: 8.031 kB / 487.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.401e-05/0.1143, allocations: 52.28 kB / 487.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005737/0.1148, allocations: 451.8 kB / 487.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.1149, allocations: 4.359 kB / 487.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.1149, allocations: 12.12 kB / 487.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.1151, allocations: 83.3 kB / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.994e-06/0.1151, allocations: 0 / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1151, allocations: 4 kB / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.1151, allocations: 11.98 kB / 487.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.1152, allocations: 23.98 kB / 487.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.1156, allocations: 370.4 kB / 488 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.1159, allocations: 105.2 kB / 488.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.737e-05/0.116, allocations: 45.64 kB / 488.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.116, allocations: 0 / 488.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.1162, allocations: 116.9 kB / 488.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.1162, allocations: 0 / 488.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004546/0.1167, allocations: 200.9 kB / 488.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.1167, allocations: 81.11 kB / 488.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009712/0.1177, allocations: 1.026 MB / 489.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1177, allocations: 25.7 kB / 489.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.1179, allocations: 232.1 kB / 489.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.1179, allocations: 39.58 kB / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.118, allocations: 21.72 kB / 489.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1181, allocations: 370.8 kB / 490.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.193e-05/0.1182, allocations: 27.98 kB / 490.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.724e-05/0.1183, allocations: 59.41 kB / 490.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.1185, allocations: 87.36 kB / 490.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1185, allocations: 0 / 490.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002742/0.1188, allocations: 176.8 kB / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1188, allocations: 8 kB / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1188, allocations: 0 / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1188, allocations: 0 / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.1189, allocations: 23.98 kB / 490.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.119, allocations: 0 / 490.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.131e-05/0.1191, allocations: 12.59 kB / 490.7 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.1191, allocations: 8 kB / 490.7 MB, free: 10.99 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0001895/0.1193, allocations: 230.5 kB / 490.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.1193, allocations: 43.44 kB / 490.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.759e-05/0.1194, allocations: 64.09 kB / 491 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.1194, allocations: 0 / 491 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.1194, allocations: 8 kB / 491 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1194, allocations: 0 / 491 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.1197, allocations: 349.2 kB / 491.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1197, allocations: 8 kB / 491.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-05/0.1198, allocations: 7.984 kB / 491.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.1198, allocations: 4 kB / 491.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1198, allocations: 0 / 491.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1198, allocations: 0 / 491.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1198, allocations: 0 / 491.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.1201, allocations: 209.1 kB / 491.6 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.1203, allocations: 136.5 kB / 491.7 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.1203, allocations: 7.984 kB / 491.7 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.8e-05/0.1204, allocations: 4 kB / 491.7 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.1205, allocations: 7.984 kB / 491.7 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.1205, allocations: 8 kB / 491.7 MB, free: 9.824 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007025/0.1212, allocations: 0.7643 MB / 492.5 MB, free: 9.062 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.064e-06/0.1212, allocations: 3.938 kB / 492.5 MB, free: 9.059 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.1215, allocations: 43.94 kB / 492.6 MB, free: 9.016 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009077/0.1224, allocations: 403.9 kB / 492.9 MB, free: 8.754 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.1226, allocations: 79.89 kB / 493 MB, free: 8.676 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1226, allocations: 0 / 493 MB, free: 8.676 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.1228, allocations: 47.91 kB / 493.1 MB, free: 8.629 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.1232, allocations: 81.06 kB / 493.2 MB, free: 8.559 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.1243, allocations: 0.8553 MB / 494 MB, free: 7.672 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.1247, allocations: 0.8503 MB / 494.9 MB, free: 6.797 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.1248, allocations: 54.94 kB / 494.9 MB, free: 6.746 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.824e-05/0.1249, allocations: 31.44 kB / 494.9 MB, free: 6.715 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1249, allocations: 4 kB / 494.9 MB, free: 6.711 MB / 366.1 MB Notification: Performance of Templates: time 0.007628/0.1325, allocations: 3.713 MB / 498.7 MB, free: 3.008 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches