Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.001363/0.001363, allocations: 114 kB / 20.43 MB, free: 1.457 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.001462/0.001462, allocations: 217.1 kB / 23.74 MB, free: 4.672 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.519/1.519, allocations: 230.5 MB / 257.4 MB, free: 8 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.2617/0.2617, allocations: 46.93 MB / 360.8 MB, free: 4.18 MB / 286.1 MB " [Timeout remaining time 179] 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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002403/0.002403, allocations: 79.88 kB / 0.4963 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3848, allocations: 66.08 MB / 0.5608 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003561/0.3884, allocations: 1.791 MB / 0.5626 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.3903, allocations: 1.053 MB / 0.5636 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.204e-05/0.3904, allocations: 11.94 kB / 0.5636 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004155/0.3908, allocations: 99.66 kB / 0.5637 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003649/0.3912, allocations: 131.5 kB / 0.5638 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.3914, allocations: 83.72 kB / 0.5639 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.3916, allocations: 135.6 kB / 0.564 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3917, allocations: 23.39 kB / 0.564 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.3919, allocations: 63.77 kB / 0.5641 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.392, allocations: 79.67 kB / 0.5642 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.392, allocations: 4 kB / 0.5642 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.3921, allocations: 75.89 kB / 0.5643 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.481e-05/0.3922, allocations: 35.86 kB / 0.5643 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.409e-05/0.3923, allocations: 43.67 kB / 0.5643 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.3925, allocations: 163.3 kB / 0.5645 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3925, allocations: 4 kB / 0.5645 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3925, allocations: 0 / 0.5645 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3925, allocations: 0 / 0.5645 GB, free: 0.4922 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006694/0.3932, allocations: 397.1 kB / 0.5649 GB, free: 76 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3932, allocations: 12.03 kB / 0.5649 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.3933, allocations: 34.75 kB / 0.5649 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.3933, allocations: 20.83 kB / 0.5649 GB, free: 0 / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/0.3937, allocations: 163.2 kB / 0.5651 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.3937, allocations: 8.359 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.3938, allocations: 8.375 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.394, allocations: 73.78 kB / 0.5652 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.394, allocations: 11.89 kB / 0.5652 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.394, allocations: 0 / 0.5652 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.394, allocations: 0 / 0.5652 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.3941, allocations: 35.97 kB / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.3946, allocations: 299.8 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/0.3949, allocations: 74.47 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.024e-05/0.395, allocations: 32.84 kB / 0.5656 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.395, allocations: 0 / 0.5656 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001853/0.3952, allocations: 75.38 kB / 0.5657 GB, free: 15.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.143e-06/0.3952, allocations: 0 / 0.5657 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009005/0.3961, allocations: 305.6 kB / 0.566 GB, free: 14.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.3961, allocations: 63.33 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.3964, allocations: 259.7 kB / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.3964, allocations: 29.7 kB / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.984e-05/0.3965, allocations: 116.1 kB / 0.5664 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/0.3966, allocations: 51.58 kB / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.3966, allocations: 25.72 kB / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3968, allocations: 334.8 kB / 0.5668 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.417e-05/0.3969, allocations: 35.98 kB / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.397, allocations: 65.62 kB / 0.5669 GB, free: 13.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.3972, allocations: 89.72 kB / 0.567 GB, free: 13.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3972, allocations: 0 / 0.567 GB, free: 13.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002785/0.3975, allocations: 172.4 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3975, allocations: 8 kB / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.3975, allocations: 0 / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3975, allocations: 0 / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.3976, allocations: 36.02 kB / 0.5672 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.3976, allocations: 3.938 kB / 0.5672 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/0.3977, allocations: 0 / 0.5672 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.3977, allocations: 4 kB / 0.5672 GB, free: 13.5 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 (16): * Single equations (assignments): 16 * 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.0001278/0.3978, allocations: 141.8 kB / 0.5673 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.3978, allocations: 19.86 kB / 0.5674 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003695/0.3982, allocations: 183.1 kB / 0.5675 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3982, allocations: 4 kB / 0.5675 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3982, allocations: 7.938 kB / 0.5675 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3982, allocations: 0 / 0.5675 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006583/0.3989, allocations: 483.2 kB / 0.568 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3989, allocations: 0 / 0.568 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.196e-05/0.3989, allocations: 19.98 kB / 0.568 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.3989, allocations: 4 kB / 0.568 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.399, allocations: 4 kB / 0.568 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.399, allocations: 8.062 kB / 0.568 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.399, allocations: 3.938 kB / 0.568 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/0.3993, allocations: 257.1 kB / 0.5683 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.495e-05/0.3993, allocations: 11.91 kB / 0.5683 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.3993, allocations: 7.984 kB / 0.5683 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.836e-05/0.3994, allocations: 8 kB / 0.5683 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.3995, allocations: 11.98 kB / 0.5683 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.3995, allocations: 4 kB / 0.5683 GB, free: 12.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001895/0.3997, allocations: 197.8 kB / 0.5685 GB, free: 12.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3997, allocations: 0 / 0.5685 GB, free: 12.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.4, allocations: 35.89 kB / 0.5686 GB, free: 12.02 MB / 414.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 (14): * Single equations (assignments): 12 * 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.002577/0.4025, allocations: 1.205 MB / 0.5697 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002584/0.4028, allocations: 91.91 kB / 0.5698 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4028, allocations: 0 / 0.5698 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.4029, allocations: 55.98 kB / 0.5699 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.4033, allocations: 38.41 kB / 0.5699 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.4057, allocations: 2.006 MB / 0.5719 GB, free: 8.695 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.406, allocations: 0.724 MB / 0.5726 GB, free: 7.945 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.049e-05/0.4061, allocations: 25.39 kB / 0.5726 GB, free: 7.922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.374e-05/0.4062, allocations: 51.42 kB / 0.5727 GB, free: 7.871 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4062, allocations: 3.938 kB / 0.5727 GB, free: 7.867 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03142/0.4376, allocations: 4.556 MB / 0.5771 GB, free: 3.355 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.49, allocations: 13.17 kB / 0.5771 GB, free: 3.348 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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: 14.683519975049421]