Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007373/0.0007373, allocations: 95.25 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009191/0.0009192, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.7 MB / 247.5 MB, free: 9.473 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1938/0.1938, allocations: 46.18 MB / 345.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002605/0.0002605, allocations: 15.94 kB / 420.2 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1197, allocations: 63.56 MB / 483.8 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002357/0.1221, allocations: 1.639 MB / 485.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.1239, allocations: 1.029 MB / 486.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.124, allocations: 3.938 kB / 486.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.1243, allocations: 43.83 kB / 486.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.1246, allocations: 75.7 kB / 486.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.1249, allocations: 79.84 kB / 486.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.1252, allocations: 135.5 kB / 486.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.1253, allocations: 29.55 kB / 486.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.1254, allocations: 51.72 kB / 486.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.1256, allocations: 47.7 kB / 486.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.1256, allocations: 4 kB / 486.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.1257, allocations: 39.98 kB / 486.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.209e-05/0.1258, allocations: 27.8 kB / 486.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.079e-05/0.1259, allocations: 73.38 kB / 487 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.1261, allocations: 108 kB / 487.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1261, allocations: 3.938 kB / 487.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1261, allocations: 0 / 487.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1261, allocations: 0 / 487.1 MB, free: 0.6992 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.0006359/0.1267, allocations: 472.6 kB / 487.6 MB, free: 188 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1268, allocations: 8.875 kB / 487.6 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/0.1268, allocations: 12.84 kB / 487.6 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.1271, allocations: 228.7 kB / 487.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.1272, allocations: 4.375 kB / 487.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.1272, allocations: 12.12 kB / 487.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.1274, allocations: 108.2 kB / 488 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1274, allocations: 0 / 488 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.1275, allocations: 4 kB / 488 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1275, allocations: 7.938 kB / 488 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.1276, allocations: 43.97 kB / 488 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005877/0.1282, allocations: 0.5164 MB / 488.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.1286, allocations: 90.66 kB / 488.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.865e-05/0.1287, allocations: 48.77 kB / 488.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.1287, allocations: 4 kB / 488.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.1289, allocations: 87.31 kB / 488.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.1289, allocations: 0 / 488.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003987/0.1293, allocations: 145.5 kB / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.1294, allocations: 55.34 kB / 488.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.1296, allocations: 203 kB / 489.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.1296, allocations: 25.7 kB / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.074e-05/0.1297, allocations: 124 kB / 489.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.1297, allocations: 27.64 kB / 489.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.1297, allocations: 21.7 kB / 489.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1299, allocations: 326.8 kB / 489.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.218e-05/0.13, allocations: 32.48 kB / 489.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.1301, allocations: 72.2 kB / 489.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.1303, allocations: 104.1 kB / 489.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1303, allocations: 4 kB / 489.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002761/0.1306, allocations: 137.4 kB / 490 MB, free: 13.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1306, allocations: 4 kB / 490 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1306, allocations: 3.984 kB / 490 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1306, allocations: 4 kB / 490 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.1307, allocations: 32 kB / 490 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1308, allocations: 7.984 kB / 490.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.202e-05/0.1308, allocations: 15.84 kB / 490.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.1309, allocations: 7.984 kB / 490.1 MB, free: 13.47 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.0001044/0.131, allocations: 121.8 kB / 490.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.131, allocations: 19.8 kB / 490.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.131, allocations: 17.41 kB / 490.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1311, allocations: 3.938 kB / 490.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1311, allocations: 4 kB / 490.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.1311, allocations: 4 kB / 490.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.1312, allocations: 213.6 kB / 490.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1313, allocations: 0 / 490.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.244e-05/0.1313, allocations: 11.94 kB / 490.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.1313, allocations: 4 kB / 490.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1314, allocations: 0 / 490.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1314, allocations: 3.938 kB / 490.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1314, allocations: 7.922 kB / 490.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.1317, allocations: 192.9 kB / 490.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.1318, allocations: 96.89 kB / 490.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.1318, allocations: 3.984 kB / 490.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.318e-05/0.1319, allocations: 7.938 kB / 490.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.132, allocations: 7.984 kB / 490.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.132, allocations: 12.06 kB / 490.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.1321, allocations: 140.4 kB / 490.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1321, allocations: 4 kB / 490.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.1323, allocations: 20 kB / 491 MB, free: 12.49 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.0009068/0.1332, allocations: 401.2 kB / 491.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.1335, allocations: 91.95 kB / 491.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1335, allocations: 0 / 491.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.621e-05/0.1336, allocations: 35.98 kB / 491.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.1339, allocations: 35.91 kB / 491.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/0.1344, allocations: 342 kB / 491.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.1347, allocations: 0.7165 MB / 492.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.1348, allocations: 19.44 kB / 492.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1348, allocations: 384 / 492.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of Templates: time 0.004067/0.1388, allocations: 2.178 MB / 494.8 MB, free: 8.77 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches