Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.001881/0.001881, allocations: 114 kB / 20.44 MB, free: 1.469 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.002564/0.002564, allocations: 214.8 kB / 23.74 MB, free: 4.695 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.479/1.479, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.2542/0.2542, allocations: 46.92 MB / 360.8 MB, free: 4.191 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.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003924/0.003924, allocations: 79.86 kB / 0.4963 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3739, allocations: 66.09 MB / 0.5608 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.004993/0.3789, allocations: 1.741 MB / 0.5625 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004358/0.3833, allocations: 1.74 MB / 0.5642 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.3834, allocations: 7.938 kB / 0.5642 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.3837, allocations: 31.83 kB / 0.5642 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005576/0.3843, allocations: 103.5 kB / 0.5643 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.3846, allocations: 79.67 kB / 0.5644 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003048/0.385, allocations: 107.6 kB / 0.5645 GB, free: 436 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.3851, allocations: 13.81 kB / 0.5645 GB, free: 424 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.3853, allocations: 51.78 kB / 0.5646 GB, free: 372 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.3855, allocations: 39.84 kB / 0.5646 GB, free: 332 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.3855, allocations: 4 kB / 0.5646 GB, free: 328 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003237/0.3859, allocations: 115.9 kB / 0.5647 GB, free: 212 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.387e-05/0.3859, allocations: 23.91 kB / 0.5648 GB, free: 188 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.561e-05/0.386, allocations: 35.75 kB / 0.5648 GB, free: 152 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004938/0.3865, allocations: 167.5 kB / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3865, allocations: 0 / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3865, allocations: 0 / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.3865, allocations: 3.938 kB / 0.565 GB, free: 15.98 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.0008146/0.3873, allocations: 349.5 kB / 0.5653 GB, free: 15.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.3874, allocations: 12.03 kB / 0.5653 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.814e-05/0.3874, allocations: 30.75 kB / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.986e-05/0.3875, allocations: 16.84 kB / 0.5653 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.3879, allocations: 154.9 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.3879, allocations: 8.312 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/0.388, allocations: 7.938 kB / 0.5655 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.3882, allocations: 67.33 kB / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.3882, allocations: 4 kB / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.3882, allocations: 0 / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3882, allocations: 0 / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.989e-05/0.3883, allocations: 23.98 kB / 0.5656 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/0.3888, allocations: 259.9 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.3891, allocations: 54.61 kB / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.885e-05/0.3892, allocations: 20.84 kB / 0.5659 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.3892, allocations: 4 kB / 0.5659 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.3894, allocations: 67.39 kB / 0.566 GB, free: 14.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.814e-06/0.3894, allocations: 0 / 0.566 GB, free: 14.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007829/0.3902, allocations: 169.4 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.3902, allocations: 81.11 kB / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.3905, allocations: 166.4 kB / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.3905, allocations: 25.7 kB / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.367e-05/0.3906, allocations: 100.1 kB / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/0.3907, allocations: 35.72 kB / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.285e-05/0.3907, allocations: 25.66 kB / 0.5666 GB, free: 14.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.3909, allocations: 318.8 kB / 0.5669 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.958e-05/0.391, allocations: 23.98 kB / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.3911, allocations: 46.5 kB / 0.5669 GB, free: 13.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.3913, allocations: 66.17 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3913, allocations: 0 / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003007/0.3916, allocations: 97.58 kB / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3916, allocations: 4 kB / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3916, allocations: 4 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.3917, allocations: 0 / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.3918, allocations: 19.98 kB / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.3918, allocations: 0 / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.222e-05/0.3919, allocations: 11.97 kB / 0.5671 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.3919, allocations: 4 kB / 0.5671 GB, free: 13.52 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 (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.0001547/0.392, allocations: 127.1 kB / 0.5673 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.3921, allocations: 7.953 kB / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003504/0.3924, allocations: 114.4 kB / 0.5674 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.3924, allocations: 7.922 kB / 0.5674 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3924, allocations: 0 / 0.5674 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.3925, allocations: 3.938 kB / 0.5674 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006808/0.3931, allocations: 370.4 kB / 0.5677 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3931, allocations: 0 / 0.5677 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.013e-05/0.3932, allocations: 8 kB / 0.5677 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.3932, allocations: 3.938 kB / 0.5677 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.3932, allocations: 4 kB / 0.5677 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.3932, allocations: 3.938 kB / 0.5678 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3932, allocations: 0 / 0.5678 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003666/0.3936, allocations: 208.3 kB / 0.568 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/0.3936, allocations: 11.95 kB / 0.568 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.3936, allocations: 3.938 kB / 0.568 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.3938, allocations: 4 kB / 0.568 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.3938, allocations: 7.984 kB / 0.568 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.3939, allocations: 0 / 0.568 GB, free: 12.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001757/0.394, allocations: 131.9 kB / 0.5681 GB, free: 12.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.394, allocations: 4 kB / 0.5681 GB, free: 12.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005305/0.3946, allocations: 47.86 kB / 0.5682 GB, free: 12.38 MB / 414.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.00348/0.398, allocations: 1.187 MB / 0.5693 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003745/0.3984, allocations: 67.89 kB / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3984, allocations: 0 / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.3985, allocations: 28.08 kB / 0.5694 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006386/0.3992, allocations: 32.12 kB / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003209/0.4024, allocations: 1.585 MB / 0.571 GB, free: 9.555 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/0.4029, allocations: 0.7001 MB / 0.5717 GB, free: 8.828 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.403, allocations: 20.97 kB / 0.5717 GB, free: 8.809 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.4031, allocations: 35.41 kB / 0.5717 GB, free: 8.773 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4031, allocations: 0 / 0.5717 GB, free: 8.773 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03534/0.4385, allocations: 4.198 MB / 0.5758 GB, free: 4.586 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.59, allocations: 144 / 0.5758 GB, free: 4.586 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.696161303902045]