Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001423/0.001423, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001648/0.001648, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2049/0.2049, allocations: 46.11 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 82.98 kB / 417 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1188, allocations: 62.44 MB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003056/0.1219, allocations: 1.976 MB / 481.4 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.1236, allocations: 1.123 MB / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.896e-05/0.1237, allocations: 4 kB / 482.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.1241, allocations: 151.6 kB / 482.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003262/0.1244, allocations: 163.5 kB / 482.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.1247, allocations: 95.78 kB / 482.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.1249, allocations: 231.3 kB / 483.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1251, allocations: 29.67 kB / 483.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.1252, allocations: 103.5 kB / 483.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.1254, allocations: 127.5 kB / 483.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.1254, allocations: 8 kB / 483.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.1255, allocations: 59.97 kB / 483.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.426e-05/0.1256, allocations: 51.77 kB / 483.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.991e-05/0.1257, allocations: 83.34 kB / 483.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.126, allocations: 211.5 kB / 483.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.126, allocations: 4 kB / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.126, allocations: 0 / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.126, allocations: 0 / 483.8 MB, free: 1.219 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006546/0.1266, allocations: 0.5409 MB / 484.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1267, allocations: 8.875 kB / 484.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.1267, allocations: 38.75 kB / 484.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.858e-05/0.1268, allocations: 24.66 kB / 484.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.1271, allocations: 271.5 kB / 484.7 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.1271, allocations: 12.38 kB / 484.7 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.1271, allocations: 15.92 kB / 484.7 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.1274, allocations: 114.4 kB / 484.8 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1274, allocations: 0 / 484.8 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.1274, allocations: 4 kB / 484.8 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1274, allocations: 0 / 484.8 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.1276, allocations: 47.95 kB / 484.9 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005228/0.1281, allocations: 472.6 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.1285, allocations: 125.2 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.1286, allocations: 53.75 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.1286, allocations: 7.938 kB / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002555/0.1289, allocations: 117.1 kB / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 2.715e-06/0.1289, allocations: 0 / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001287/0.1302, allocations: 496.2 kB / 486.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.1303, allocations: 81.11 kB / 486.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003574/0.1306, allocations: 367.3 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.1307, allocations: 33.7 kB / 486.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.986e-05/0.1307, allocations: 152.4 kB / 486.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.074e-05/0.1308, allocations: 71.09 kB / 486.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.049e-05/0.1309, allocations: 49.64 kB / 486.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.131, allocations: 338.8 kB / 487.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.1312, allocations: 55.97 kB / 487.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.1313, allocations: 87.41 kB / 487.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.1316, allocations: 171.5 kB / 487.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1316, allocations: 0 / 487.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003969/0.132, allocations: 233 kB / 487.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.132, allocations: 4 kB / 487.7 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1321, allocations: 0 / 487.7 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1321, allocations: 4 kB / 487.7 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.1322, allocations: 47.91 kB / 487.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1322, allocations: 0 / 487.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.255e-05/0.1323, allocations: 12.06 kB / 487.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.1324, allocations: 8 kB / 487.8 MB, free: 12.93 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001489/0.1325, allocations: 162.3 kB / 487.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.1326, allocations: 35.56 kB / 488 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.021e-05/0.1326, allocations: 33.83 kB / 488 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1326, allocations: 4 kB / 488 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1327, allocations: 0 / 488 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1327, allocations: 0 / 488 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008772/0.1335, allocations: 0.735 MB / 488.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1336, allocations: 192 / 488.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.315e-05/0.1337, allocations: 27.94 kB / 488.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.1337, allocations: 16.05 kB / 488.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.1337, allocations: 8 kB / 488.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1337, allocations: 0 / 488.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1337, allocations: 7.938 kB / 488.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004572/0.1342, allocations: 421.1 kB / 489.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.1342, allocations: 100.8 kB / 489.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.1343, allocations: 8 kB / 489.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.1344, allocations: 11.98 kB / 489.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.1345, allocations: 19.86 kB / 489.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.1345, allocations: 15.98 kB / 489.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002506/0.1348, allocations: 281.9 kB / 489.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1348, allocations: 0 / 489.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003623/0.1352, allocations: 48 kB / 489.7 MB, free: 10.9 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001817/0.137, allocations: 1.355 MB / 491 MB, free: 9.691 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003434/0.1373, allocations: 155.8 kB / 491.2 MB, free: 9.539 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1374, allocations: 0 / 491.2 MB, free: 9.539 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.1375, allocations: 84.23 kB / 491.3 MB, free: 9.457 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005481/0.1381, allocations: 57.05 kB / 491.3 MB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003096/0.1412, allocations: 2.766 MB / 494.1 MB, free: 6.512 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.1415, allocations: 0.7638 MB / 494.9 MB, free: 5.723 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.1417, allocations: 37.92 kB / 494.9 MB, free: 5.688 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.1418, allocations: 83.41 kB / 495 MB, free: 5.605 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1418, allocations: 0 / 495 MB, free: 5.605 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.1587, allocations: 5.735 MB / 0.489 GB, free: 15.98 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.159, allocations: 251.4 kB / 0.4892 GB, free: 15.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/1.962, allocations: 0 / 0.4892 GB, free: 15.71 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches