Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001643/0.001643, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001788/0.001788, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 227.4 MB / 247.1 MB, free: 9.082 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2319/0.2319, allocations: 46.11 MB / 344.5 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002352, allocations: 87.12 kB / 417.8 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.11, allocations: 62.44 MB / 480.2 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003803/0.1139, allocations: 2.001 MB / 482.2 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.1157, allocations: 1.041 MB / 483.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.961e-05/0.1158, allocations: 4 kB / 483.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.1161, allocations: 35.83 kB / 483.3 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.1165, allocations: 83.67 kB / 483.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.1167, allocations: 83.81 kB / 483.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.1169, allocations: 139.6 kB / 483.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.117, allocations: 33.55 kB / 483.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.356e-05/0.1171, allocations: 55.72 kB / 483.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.647e-05/0.1172, allocations: 55.64 kB / 483.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.1173, allocations: 8 kB / 483.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.664e-05/0.1174, allocations: 43.92 kB / 483.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.866e-05/0.1174, allocations: 23.92 kB / 483.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.388e-05/0.1175, allocations: 55.66 kB / 483.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.1177, allocations: 120 kB / 484 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1177, allocations: 4 kB / 484 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1178, allocations: 0 / 484 MB, free: 1.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1178, allocations: 0 / 484 MB, free: 1.738 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.0006796/0.1184, allocations: 484.4 kB / 484.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1185, allocations: 8.031 kB / 484.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.1185, allocations: 20.73 kB / 484.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.1188, allocations: 229.6 kB / 484.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1189, allocations: 384 / 484.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.1189, allocations: 20.12 kB / 484.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.1191, allocations: 107 kB / 484.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1192, allocations: 0 / 484.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.1192, allocations: 7.938 kB / 484.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1192, allocations: 4 kB / 484.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.1194, allocations: 55.89 kB / 484.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006085/0.12, allocations: 0.5048 MB / 485.4 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.1203, allocations: 98.58 kB / 485.5 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.656e-05/0.1204, allocations: 36.84 kB / 485.6 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.1205, allocations: 7.984 kB / 485.6 MB, free: 0 / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002753/0.1208, allocations: 75.38 kB / 485.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.1208, allocations: 0 / 485.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003972/0.1212, allocations: 149.4 kB / 485.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.1212, allocations: 59.28 kB / 485.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.1214, allocations: 202.2 kB / 486 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1215, allocations: 25.7 kB / 486.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.249e-05/0.1216, allocations: 116 kB / 486.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.1216, allocations: 31.55 kB / 486.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.1216, allocations: 29.72 kB / 486.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1218, allocations: 326.8 kB / 486.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-05/0.1219, allocations: 31.98 kB / 486.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.122, allocations: 60.28 kB / 486.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.1222, allocations: 100.2 kB / 486.7 MB, free: 14.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1222, allocations: 0 / 486.7 MB, free: 14.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002774/0.1225, allocations: 137.7 kB / 486.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1225, allocations: 10.34 kB / 486.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1226, allocations: 0 / 486.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1226, allocations: 128 / 486.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.1227, allocations: 35.86 kB / 486.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1227, allocations: 0 / 486.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.353e-05/0.1228, allocations: 19.92 kB / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.1228, allocations: 4 kB / 486.9 MB, free: 14.52 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.0001104/0.1229, allocations: 125.8 kB / 487.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.1229, allocations: 15.81 kB / 487.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.837e-05/0.123, allocations: 21.39 kB / 487.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.123, allocations: 3.938 kB / 487.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.123, allocations: 4 kB / 487.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.123, allocations: 0 / 487.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.1232, allocations: 217.5 kB / 487.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1232, allocations: 3.938 kB / 487.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.542e-05/0.1233, allocations: 11.98 kB / 487.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1233, allocations: 0 / 487.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1234, allocations: 4 kB / 487.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1234, allocations: 3.938 kB / 487.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1234, allocations: 0 / 487.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003824/0.1238, allocations: 180.9 kB / 487.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.58e-05/0.1238, allocations: 92.89 kB / 487.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.1239, allocations: 8 kB / 487.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.294e-05/0.1239, allocations: 7.938 kB / 487.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.124, allocations: 7.984 kB / 487.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.124, allocations: 4 kB / 487.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.1241, allocations: 144.4 kB / 487.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.205e-06/0.1241, allocations: 4.062 kB / 487.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.1244, allocations: 36.05 kB / 487.8 MB, free: 13.54 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.001456/0.1259, allocations: 396.9 kB / 488.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002562/0.1261, allocations: 75.91 kB / 488.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.1261, allocations: 0 / 488.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.1263, allocations: 52.09 kB / 488.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.1266, allocations: 51.45 kB / 488.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005825/0.1272, allocations: 325.6 kB / 488.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.1275, allocations: 0.7123 MB / 489.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.1276, allocations: 15.44 kB / 489.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1276, allocations: 4 kB / 489.4 MB, free: 12 MB / 366.1 MB Notification: Performance of Templates: time 0.00444/0.132, allocations: 2.204 MB / 491.6 MB, free: 9.801 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches