Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.001262/0.001262, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001378/0.001378, allocations: 209.5 kB / 24.52 MB, free: 3.941 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.424/1.424, allocations: 230.5 MB / 258.2 MB, free: 7.816 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.223/0.223, allocations: 46.95 MB / 361.6 MB, free: 3.949 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.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 79.88 kB / 0.497 GB, free: 7.512 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3191, allocations: 66.08 MB / 0.5615 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003291/0.3223, allocations: 1.868 MB / 0.5633 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.3242, allocations: 1.076 MB / 0.5644 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.293e-05/0.3243, allocations: 3.938 kB / 0.5644 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004788/0.3248, allocations: 247.4 kB / 0.5646 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004945/0.3253, allocations: 243.1 kB / 0.5649 GB, free: 484 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.3255, allocations: 111.7 kB / 0.565 GB, free: 372 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003583/0.3259, allocations: 279.2 kB / 0.5652 GB, free: 92 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.326, allocations: 23.78 kB / 0.5652 GB, free: 68 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.3262, allocations: 139.4 kB / 0.5654 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002713/0.3264, allocations: 203.4 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.3265, allocations: 8 kB / 0.5656 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.3266, allocations: 75.91 kB / 0.5657 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.3267, allocations: 71.75 kB / 0.5657 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.702e-05/0.3268, allocations: 67.42 kB / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.3272, allocations: 262.7 kB / 0.566 GB, free: 15.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3272, allocations: 0 / 0.566 GB, free: 15.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3272, allocations: 0 / 0.566 GB, free: 15.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3272, allocations: 0 / 0.566 GB, free: 15.25 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007668/0.3279, allocations: 0.5196 MB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.328, allocations: 8.031 kB / 0.5666 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.53e-05/0.328, allocations: 8.188 kB / 0.5666 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.325e-05/0.328, allocations: 42.73 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.222e-05/0.3281, allocations: 32.75 kB / 0.5666 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.3285, allocations: 228.8 kB / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.3285, allocations: 4.375 kB / 0.5669 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.3285, allocations: 12.38 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.3288, allocations: 119.2 kB / 0.567 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3288, allocations: 0 / 0.567 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.3288, allocations: 4 kB / 0.567 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.3288, allocations: 0 / 0.567 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.329, allocations: 55.91 kB / 0.567 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006349/0.3296, allocations: 444 kB / 0.5675 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003998/0.33, allocations: 125.1 kB / 0.5676 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.3301, allocations: 41.83 kB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.3301, allocations: 0 / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/0.3304, allocations: 136.5 kB / 0.5678 GB, free: 13.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 3.146e-06/0.3304, allocations: 4 kB / 0.5678 GB, free: 13.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.0014/0.3318, allocations: 0.5286 MB / 0.5683 GB, free: 12.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.3318, allocations: 81.05 kB / 0.5683 GB, free: 12.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005665/0.3324, allocations: 0.5016 MB / 0.5688 GB, free: 12.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.3324, allocations: 37.62 kB / 0.5689 GB, free: 12.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.3326, allocations: 168.5 kB / 0.569 GB, free: 11.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.628e-05/0.3327, allocations: 79.41 kB / 0.5691 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.157e-05/0.3328, allocations: 41.7 kB / 0.5692 GB, free: 11.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.3329, allocations: 350.8 kB / 0.5695 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.3331, allocations: 55.97 kB / 0.5695 GB, free: 11.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.3332, allocations: 96.7 kB / 0.5696 GB, free: 11.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/0.3335, allocations: 159.3 kB / 0.5698 GB, free: 11.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3335, allocations: 0 / 0.5698 GB, free: 11.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004243/0.334, allocations: 237.6 kB / 0.57 GB, free: 10.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.334, allocations: 23.92 kB / 0.57 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.334, allocations: 0 / 0.57 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.334, allocations: 4 kB / 0.57 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.3341, allocations: 39.92 kB / 0.5701 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.3341, allocations: 4 kB / 0.5701 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.741e-05/0.3342, allocations: 11.98 kB / 0.5701 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.3343, allocations: 8 kB / 0.5701 GB, free: 10.84 MB / 414.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.0001871/0.3344, allocations: 178.2 kB / 0.5703 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-05/0.3345, allocations: 39.7 kB / 0.5703 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005655/0.3351, allocations: 292.3 kB / 0.5706 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3351, allocations: 0 / 0.5706 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.3351, allocations: 7.984 kB / 0.5706 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3351, allocations: 3.938 kB / 0.5706 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.3361, allocations: 0.7146 MB / 0.5713 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3361, allocations: 0 / 0.5713 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.658e-05/0.3362, allocations: 31.98 kB / 0.5713 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3362, allocations: 128 / 0.5713 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.3362, allocations: 15.94 kB / 0.5713 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.3362, allocations: 4 kB / 0.5713 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3362, allocations: 0 / 0.5713 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005601/0.3368, allocations: 453.7 kB / 0.5718 GB, free: 9.008 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.3368, allocations: 27.8 kB / 0.5718 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.3369, allocations: 8 kB / 0.5718 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.337, allocations: 4 kB / 0.5718 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.3371, allocations: 27.91 kB / 0.5718 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.3371, allocations: 19.98 kB / 0.5719 GB, free: 8.922 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003955/0.3375, allocations: 379.3 kB / 0.5722 GB, free: 8.555 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3375, allocations: 0 / 0.5722 GB, free: 8.555 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003613/0.3379, allocations: 59.86 kB / 0.5723 GB, free: 8.496 MB / 414.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 (24): * Single equations (assignments): 20 * 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.002886/0.3407, allocations: 1.415 MB / 0.5737 GB, free: 7.246 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003849/0.3411, allocations: 163.9 kB / 0.5738 GB, free: 7.086 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3411, allocations: 4.125 kB / 0.5738 GB, free: 7.082 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.3413, allocations: 79.84 kB / 0.5739 GB, free: 7.004 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005617/0.3419, allocations: 58.2 kB / 0.574 GB, free: 6.949 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004264/0.3461, allocations: 3.029 MB / 0.5769 GB, free: 3.793 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.3463, allocations: 174.4 kB / 0.5771 GB, free: 3.602 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001347/0.3465, allocations: 41.88 kB / 0.5771 GB, free: 3.562 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.3466, allocations: 103.4 kB / 0.5772 GB, free: 3.461 MB / 414.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3466, allocations: 3.938 kB / 0.5772 GB, free: 3.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/0.3773, allocations: 7.226 MB / 0.5843 GB, free: 12.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.47, allocations: 8 kB / 0.5843 GB, free: 12.27 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.472349504940212]