Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.001784/0.001784, allocations: 116.4 kB / 18.5 MB, free: 4.602 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.002078/0.002078, allocations: 208.9 kB / 21.46 MB, free: 1.648 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.537/1.537, allocations: 230.2 MB / 254.5 MB, free: 15.42 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.2445/0.2445, allocations: 46.91 MB / 357.4 MB, free: 10.5 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.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 82.69 kB / 0.4913 GB, free: 26.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.129, allocations: 65.99 MB / 0.5558 GB, free: 9.023 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003364/0.1324, allocations: 1.688 MB / 0.5574 GB, free: 7.316 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.1341, allocations: 1.016 MB / 0.5584 GB, free: 6.297 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.28e-05/0.1342, allocations: 0 / 0.5584 GB, free: 6.297 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.1345, allocations: 63.73 kB / 0.5585 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003591/0.1349, allocations: 103.6 kB / 0.5586 GB, free: 6.133 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.1351, allocations: 75.67 kB / 0.5586 GB, free: 6.059 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.1353, allocations: 107.7 kB / 0.5587 GB, free: 5.953 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.04e-05/0.1353, allocations: 4.234 kB / 0.5587 GB, free: 5.949 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1354, allocations: 51.78 kB / 0.5588 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.1355, allocations: 51.75 kB / 0.5588 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.1355, allocations: 4 kB / 0.5588 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.32e-05/0.1356, allocations: 35.98 kB / 0.5589 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.946e-05/0.1357, allocations: 27.84 kB / 0.5589 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.169e-05/0.1357, allocations: 27.81 kB / 0.5589 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.1359, allocations: 99.8 kB / 0.559 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1359, allocations: 0 / 0.559 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1359, allocations: 0 / 0.559 GB, free: 5.656 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1359, allocations: 0 / 0.559 GB, free: 5.656 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005892/0.1365, allocations: 422.7 kB / 0.5594 GB, free: 5.195 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.1366, allocations: 12.03 kB / 0.5594 GB, free: 5.184 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.318e-05/0.1366, allocations: 30.75 kB / 0.5595 GB, free: 5.145 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.1367, allocations: 12.84 kB / 0.5595 GB, free: 5.133 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.1369, allocations: 208.9 kB / 0.5597 GB, free: 4.891 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.137, allocations: 4.312 kB / 0.5597 GB, free: 4.887 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.137, allocations: 8.359 kB / 0.5597 GB, free: 4.879 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.1371, allocations: 45.81 kB / 0.5597 GB, free: 4.828 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.1371, allocations: 4 kB / 0.5597 GB, free: 4.824 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.1371, allocations: 0 / 0.5597 GB, free: 4.824 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.1371, allocations: 4 kB / 0.5598 GB, free: 4.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.069e-05/0.1372, allocations: 23.91 kB / 0.5598 GB, free: 4.797 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/0.1374, allocations: 185.6 kB / 0.56 GB, free: 4.566 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.1376, allocations: 54.61 kB / 0.56 GB, free: 4.504 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.146e-05/0.1377, allocations: 16.84 kB / 0.56 GB, free: 4.484 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.1377, allocations: 8 kB / 0.56 GB, free: 4.477 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.1378, allocations: 67.31 kB / 0.5601 GB, free: 4.398 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.1378, allocations: 3.938 kB / 0.5601 GB, free: 4.395 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002918/0.1381, allocations: 89.62 kB / 0.5602 GB, free: 4.301 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.1382, allocations: 55.41 kB / 0.5602 GB, free: 4.234 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.1384, allocations: 202.3 kB / 0.5604 GB, free: 4.027 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1384, allocations: 25.7 kB / 0.5605 GB, free: 3.996 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/0.1385, allocations: 104.1 kB / 0.5605 GB, free: 3.891 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.1385, allocations: 11.91 kB / 0.5606 GB, free: 3.879 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.1386, allocations: 17.72 kB / 0.5606 GB, free: 3.855 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1387, allocations: 322.8 kB / 0.5609 GB, free: 3.531 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.214e-05/0.1388, allocations: 19.92 kB / 0.5609 GB, free: 3.512 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.936e-05/0.1388, allocations: 33.7 kB / 0.5609 GB, free: 3.473 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.84e-05/0.1389, allocations: 41.66 kB / 0.561 GB, free: 3.426 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.139, allocations: 0 / 0.561 GB, free: 3.426 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001745/0.1391, allocations: 97.45 kB / 0.5611 GB, free: 3.324 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1391, allocations: 6.031 kB / 0.5611 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1391, allocations: 0 / 0.5611 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1392, allocations: 0 / 0.5611 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.397e-05/0.1392, allocations: 12 kB / 0.5611 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1392, allocations: 4.031 kB / 0.5611 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.982e-05/0.1393, allocations: 4 kB / 0.5611 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.1393, allocations: 3.984 kB / 0.5611 GB, free: 3.297 MB / 414.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 (7): * Single equations (assignments): 7 * 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.0001098/0.1394, allocations: 117.8 kB / 0.5612 GB, free: 3.172 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.1394, allocations: 15.89 kB / 0.5612 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.1395, allocations: 16.98 kB / 0.5612 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1395, allocations: 320 / 0.5612 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1395, allocations: 0 / 0.5612 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1395, allocations: 0 / 0.5612 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.1397, allocations: 193.6 kB / 0.5614 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.1397, allocations: 7.922 kB / 0.5614 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-05/0.1397, allocations: 7.938 kB / 0.5614 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1397, allocations: 3.938 kB / 0.5614 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1397, allocations: 0 / 0.5614 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1397, allocations: 4 kB / 0.5614 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1397, allocations: 0 / 0.5614 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.1399, allocations: 105.1 kB / 0.5615 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.784e-05/0.14, allocations: 92.94 kB / 0.5616 GB, free: 2.645 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.14, allocations: 4 kB / 0.5616 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.599e-05/0.14, allocations: 4 kB / 0.5616 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.14, allocations: 7.984 kB / 0.5617 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.1401, allocations: 0 / 0.5617 GB, free: 2.629 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001328/0.1402, allocations: 149.5 kB / 0.5618 GB, free: 2.484 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1402, allocations: 0 / 0.5618 GB, free: 2.484 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002124/0.1404, allocations: 16 kB / 0.5618 GB, free: 2.469 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001906/0.1423, allocations: 0.9474 MB / 0.5627 GB, free: 1.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.1425, allocations: 43.92 kB / 0.5628 GB, free: 1.598 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1425, allocations: 0 / 0.5628 GB, free: 1.598 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.666e-05/0.1425, allocations: 15.98 kB / 0.5628 GB, free: 1.582 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.1428, allocations: 32.02 kB / 0.5628 GB, free: 1.551 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.1445, allocations: 1.517 MB / 0.5643 GB, free: 15.94 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.1448, allocations: 0.7002 MB / 0.565 GB, free: 15.21 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.622e-05/0.1448, allocations: 8.562 kB / 0.565 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.599e-05/0.1449, allocations: 31.36 kB / 0.565 GB, free: 15.18 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1449, allocations: 4 kB / 0.565 GB, free: 15.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.1735, allocations: 3.176 MB / 0.5681 GB, free: 12.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.139/8.313, allocations: 9.359 kB / 0.5681 GB, free: 12.05 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.484181874897331]