Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001799/0.001799, allocations: 117 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002475/0.002475, allocations: 216.7 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 230.4 MB / 254.7 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2231/0.2231, allocations: 46.93 MB / 357.7 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] 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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 75.89 kB / 0.4917 GB, free: 7.637 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1309, allocations: 66.05 MB / 0.5562 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003103/0.134, allocations: 1.733 MB / 0.5579 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.1357, allocations: 1.026 MB / 0.5589 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.549e-05/0.1358, allocations: 0 / 0.5589 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.136, allocations: 47.77 kB / 0.559 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.1363, allocations: 95.53 kB / 0.5591 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.1365, allocations: 71.73 kB / 0.5591 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.1367, allocations: 111.6 kB / 0.5593 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1368, allocations: 11.98 kB / 0.5593 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.406e-05/0.1369, allocations: 43.78 kB / 0.5593 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.221e-05/0.137, allocations: 35.84 kB / 0.5593 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.137, allocations: 4 kB / 0.5593 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.747e-05/0.1371, allocations: 47.92 kB / 0.5594 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.02e-05/0.1372, allocations: 19.92 kB / 0.5594 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.1372, allocations: 35.73 kB / 0.5594 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.1375, allocations: 111.5 kB / 0.5595 GB, free: 2.043 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1375, allocations: 0 / 0.5595 GB, free: 2.043 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1375, allocations: 0 / 0.5595 GB, free: 2.043 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1375, allocations: 0 / 0.5595 GB, free: 2.043 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000606/0.1381, allocations: 410.8 kB / 0.5599 GB, free: 1.594 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1381, allocations: 15.97 kB / 0.56 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.093e-05/0.1381, allocations: 4.125 kB / 0.56 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.109e-05/0.1382, allocations: 34.75 kB / 0.56 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.1382, allocations: 12.89 kB / 0.56 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.1385, allocations: 208.2 kB / 0.5602 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.1385, allocations: 4.375 kB / 0.5602 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.1385, allocations: 4.312 kB / 0.5602 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.1387, allocations: 57.61 kB / 0.5603 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1387, allocations: 0 / 0.5603 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.1387, allocations: 8 kB / 0.5603 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1387, allocations: 0 / 0.5603 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.886e-05/0.1388, allocations: 27.92 kB / 0.5603 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.1392, allocations: 288.8 kB / 0.5606 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.1394, allocations: 54.67 kB / 0.5606 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.489e-05/0.1394, allocations: 16.86 kB / 0.5606 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.1394, allocations: 0 / 0.5606 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.1396, allocations: 79.31 kB / 0.5607 GB, free: 0.668 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1396, allocations: 0 / 0.5607 GB, free: 0.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005551/0.1401, allocations: 165.4 kB / 0.5609 GB, free: 0.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.1402, allocations: 51.41 kB / 0.5609 GB, free: 448 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.1404, allocations: 174.2 kB / 0.5611 GB, free: 260 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1404, allocations: 25.7 kB / 0.5611 GB, free: 228 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.1405, allocations: 100.1 kB / 0.5612 GB, free: 124 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.1405, allocations: 27.78 kB / 0.5612 GB, free: 96 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.1405, allocations: 21.72 kB / 0.5613 GB, free: 68 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.1407, allocations: 322.8 kB / 0.5616 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.516e-05/0.1408, allocations: 23.98 kB / 0.5616 GB, free: 15.72 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.895e-05/0.1408, allocations: 33.7 kB / 0.5616 GB, free: 15.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.141, allocations: 73.62 kB / 0.5617 GB, free: 15.6 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.141, allocations: 0 / 0.5617 GB, free: 15.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002009/0.1412, allocations: 93.59 kB / 0.5618 GB, free: 15.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1412, allocations: 8 kB / 0.5618 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.1412, allocations: 0 / 0.5618 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1412, allocations: 3.938 kB / 0.5618 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.365e-05/0.1413, allocations: 15.98 kB / 0.5618 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1413, allocations: 4 kB / 0.5618 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.584e-05/0.1414, allocations: 4.188 kB / 0.5618 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.1414, allocations: 11.97 kB / 0.5618 GB, free: 15.46 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001237/0.1415, allocations: 125.8 kB / 0.5619 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.1415, allocations: 7.953 kB / 0.562 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.796e-05/0.1415, allocations: 12.72 kB / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1416, allocations: 3.984 kB / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1416, allocations: 3.938 kB / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1416, allocations: 0 / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/0.1421, allocations: 407.6 kB / 0.5624 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1421, allocations: 0 / 0.5624 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.1421, allocations: 15.94 kB / 0.5624 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1421, allocations: 0 / 0.5624 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.1421, allocations: 7.938 kB / 0.5624 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1421, allocations: 0 / 0.5624 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1421, allocations: 0 / 0.5624 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.1424, allocations: 204.4 kB / 0.5626 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-05/0.1424, allocations: 89.02 kB / 0.5627 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1425, allocations: 7.938 kB / 0.5627 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/0.1425, allocations: 4 kB / 0.5627 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.1426, allocations: 3.984 kB / 0.5627 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.1426, allocations: 4 kB / 0.5627 GB, free: 14.47 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.1427, allocations: 136.1 kB / 0.5628 GB, free: 14.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1427, allocations: 0 / 0.5628 GB, free: 14.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.143, allocations: 31.86 kB / 0.5628 GB, free: 14.31 MB / 430.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002161/0.1451, allocations: 1.091 MB / 0.5639 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.1453, allocations: 55.91 kB / 0.564 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1453, allocations: 0 / 0.564 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.36e-05/0.1454, allocations: 27.94 kB / 0.564 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.1457, allocations: 26.5 kB / 0.564 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.1476, allocations: 1.61 MB / 0.5656 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.1479, allocations: 0.7002 MB / 0.5663 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.988e-05/0.148, allocations: 13.19 kB / 0.5663 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.322e-05/0.148, allocations: 39.42 kB / 0.5663 GB, free: 10.76 MB / 430.1 MB Notification: Performance of SimCode: time 8.22e-07/0.148, allocations: 4 kB / 0.5663 GB, free: 10.76 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.1663, allocations: 3.389 MB / 0.5696 GB, free: 7.426 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.207, allocations: 2.812 kB / 0.5696 GB, free: 7.426 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.25669615296647]