Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.001297/0.001297, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.001356/0.001356, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.488/1.488, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.251/0.251, allocations: 46.9 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.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 79.88 kB / 0.4913 GB, free: 8.285 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1247, allocations: 66 MB / 0.5558 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.004405/0.1291, allocations: 1.754 MB / 0.5575 GB, free: 4.383 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002469/0.1316, allocations: 1.04 MB / 0.5585 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.18e-05/0.1316, allocations: 0 / 0.5585 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003545/0.132, allocations: 55.73 kB / 0.5586 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004446/0.1324, allocations: 99.53 kB / 0.5587 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.1327, allocations: 79.66 kB / 0.5587 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.133, allocations: 127.7 kB / 0.5589 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.1331, allocations: 15.98 kB / 0.5589 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.1333, allocations: 55.75 kB / 0.5589 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.1334, allocations: 51.77 kB / 0.559 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.1334, allocations: 8 kB / 0.559 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.1336, allocations: 71.91 kB / 0.5591 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.605e-05/0.1337, allocations: 27.91 kB / 0.5591 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.479e-05/0.1338, allocations: 39.69 kB / 0.5591 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.1341, allocations: 147.4 kB / 0.5593 GB, free: 2.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.1341, allocations: 4 kB / 0.5593 GB, free: 2.566 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1341, allocations: 0 / 0.5593 GB, free: 2.566 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.1341, allocations: 0 / 0.5593 GB, free: 2.566 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007909/0.1349, allocations: 438.5 kB / 0.5597 GB, free: 2.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.135, allocations: 15.97 kB / 0.5597 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.789e-05/0.135, allocations: 34.75 kB / 0.5597 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.852e-05/0.1351, allocations: 20.83 kB / 0.5598 GB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004268/0.1355, allocations: 232 kB / 0.56 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.1355, allocations: 8.312 kB / 0.56 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.1355, allocations: 4.375 kB / 0.56 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.1358, allocations: 77.72 kB / 0.5601 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1358, allocations: 4 kB / 0.5601 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1358, allocations: 3.938 kB / 0.5601 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1358, allocations: 4 kB / 0.5601 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.1359, allocations: 39.97 kB / 0.5601 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005601/0.1365, allocations: 324.8 kB / 0.5604 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.1369, allocations: 78.58 kB / 0.5605 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.137, allocations: 28.84 kB / 0.5605 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.137, allocations: 4 kB / 0.5605 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.1373, allocations: 79.38 kB / 0.5606 GB, free: 1.023 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 2.294e-06/0.1373, allocations: 0 / 0.5606 GB, free: 1.023 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001217/0.1385, allocations: 293.1 kB / 0.5609 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.1386, allocations: 59.39 kB / 0.5609 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/0.1389, allocations: 198 kB / 0.5611 GB, free: 468 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.1389, allocations: 29.7 kB / 0.5612 GB, free: 432 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.643e-05/0.139, allocations: 108.4 kB / 0.5613 GB, free: 320 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.638e-05/0.1391, allocations: 43.64 kB / 0.5613 GB, free: 276 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.343e-05/0.1391, allocations: 25.72 kB / 0.5613 GB, free: 244 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002319/0.1394, allocations: 330.8 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.1395, allocations: 40.77 kB / 0.5617 GB, free: 15.87 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.1397, allocations: 53.7 kB / 0.5617 GB, free: 15.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/0.1399, allocations: 100.5 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1399, allocations: 0 / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004228/0.1404, allocations: 157.5 kB / 0.562 GB, free: 15.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.1404, allocations: 10.33 kB / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1404, allocations: 0 / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.1404, allocations: 4 kB / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.1406, allocations: 20 kB / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.1406, allocations: 7.922 kB / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.758e-05/0.1406, allocations: 15.91 kB / 0.562 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.1407, allocations: 11.94 kB / 0.562 GB, free: 15.48 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 (15): * Single equations (assignments): 15 * 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.0001606/0.1408, allocations: 131.2 kB / 0.5622 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.1409, allocations: 15.91 kB / 0.5622 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.103e-05/0.141, allocations: 25.53 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.141, allocations: 0 / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.141, allocations: 0 / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.069e-05/0.141, allocations: 7.922 kB / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008587/0.1418, allocations: 484.2 kB / 0.5627 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.1419, allocations: 4 kB / 0.5627 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.574e-05/0.1419, allocations: 23.86 kB / 0.5627 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.1419, allocations: 4 kB / 0.5627 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.142, allocations: 0 / 0.5627 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.142, allocations: 4 kB / 0.5627 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.142, allocations: 0 / 0.5627 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004182/0.1424, allocations: 253.2 kB / 0.563 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.056e-05/0.1425, allocations: 92.95 kB / 0.563 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.1425, allocations: 19.91 kB / 0.5631 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.1426, allocations: 0 / 0.5631 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.1427, allocations: 15.98 kB / 0.5631 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.1427, allocations: 4 kB / 0.5631 GB, free: 14.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.1429, allocations: 152.8 kB / 0.5632 GB, free: 14.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1429, allocations: 0 / 0.5632 GB, free: 14.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005179/0.1434, allocations: 31.94 kB / 0.5633 GB, free: 14.12 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.003406/0.1468, allocations: 1.207 MB / 0.5644 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003581/0.1472, allocations: 91.91 kB / 0.5645 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1472, allocations: 0 / 0.5645 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.1474, allocations: 47.91 kB / 0.5646 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005805/0.1479, allocations: 35.64 kB / 0.5646 GB, free: 12.92 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.1512, allocations: 1.86 MB / 0.5664 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.1517, allocations: 0.7123 MB / 0.5671 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.1518, allocations: 29.41 kB / 0.5671 GB, free: 10.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.1519, allocations: 55.34 kB / 0.5672 GB, free: 10.13 MB / 430.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1519, allocations: 4 kB / 0.5672 GB, free: 10.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03187/0.1838, allocations: 4.069 MB / 0.5712 GB, free: 6.117 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.158/8.342, allocations: 11.36 kB / 0.5712 GB, free: 6.109 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.367664705961943]