Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.001233/0.001233, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001341/0.001341, allocations: 220.2 kB / 24.53 MB, free: 4.008 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.39/1.39, allocations: 230.5 MB / 258.2 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.2165/0.2165, allocations: 46.92 MB / 361.6 MB, free: 4.191 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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 71.89 kB / 0.497 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3305, allocations: 66.08 MB / 0.5616 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.00312/0.3336, allocations: 1.729 MB / 0.5633 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.3353, allocations: 1.053 MB / 0.5643 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.322e-05/0.3354, allocations: 7.938 kB / 0.5643 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.3357, allocations: 39.77 kB / 0.5643 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.336, allocations: 91.56 kB / 0.5644 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.3362, allocations: 79.72 kB / 0.5645 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.3364, allocations: 99.69 kB / 0.5646 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.825e-05/0.3365, allocations: 9.828 kB / 0.5646 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.3366, allocations: 55.7 kB / 0.5646 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.965e-05/0.3367, allocations: 31.86 kB / 0.5647 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.3367, allocations: 4 kB / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-05/0.3368, allocations: 47.91 kB / 0.5647 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.378e-05/0.3368, allocations: 19.92 kB / 0.5647 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.208e-05/0.3369, allocations: 31.75 kB / 0.5648 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.3371, allocations: 115.5 kB / 0.5649 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3371, allocations: 0 / 0.5649 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3371, allocations: 0 / 0.5649 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.3371, allocations: 0 / 0.5649 GB, free: 0.8281 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005097/0.3376, allocations: 337.6 kB / 0.5652 GB, free: 480 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3376, allocations: 12.03 kB / 0.5652 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.811e-05/0.3377, allocations: 4.188 kB / 0.5652 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.32e-05/0.3377, allocations: 38.69 kB / 0.5653 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.3377, allocations: 12.83 kB / 0.5653 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.338, allocations: 150.3 kB / 0.5654 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.338, allocations: 4.375 kB / 0.5654 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.338, allocations: 4.375 kB / 0.5654 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.3382, allocations: 57.61 kB / 0.5655 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3382, allocations: 4 kB / 0.5655 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.3382, allocations: 3.984 kB / 0.5655 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.3382, allocations: 0 / 0.5655 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.271e-05/0.3383, allocations: 23.92 kB / 0.5655 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.3386, allocations: 256 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.3388, allocations: 50.62 kB / 0.5658 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.529e-05/0.3388, allocations: 24.84 kB / 0.5658 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.3389, allocations: 4 kB / 0.5658 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.339, allocations: 67.33 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.339, allocations: 0 / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005139/0.3395, allocations: 181.3 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.3396, allocations: 55.41 kB / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.3397, allocations: 175.5 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.3398, allocations: 25.7 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.494e-05/0.3398, allocations: 100.1 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.3399, allocations: 27.78 kB / 0.5664 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.3399, allocations: 21.72 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3401, allocations: 330.8 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.765e-05/0.3401, allocations: 19.98 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.956e-05/0.3402, allocations: 38.08 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.3403, allocations: 57.66 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3403, allocations: 0 / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001874/0.3405, allocations: 105.6 kB / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3405, allocations: 4 kB / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3405, allocations: 0 / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3405, allocations: 4 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.456e-05/0.3406, allocations: 23.95 kB / 0.567 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3406, allocations: 0 / 0.567 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.53e-05/0.3407, allocations: 8 kB / 0.567 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.3407, allocations: 3.938 kB / 0.567 GB, free: 14.43 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.0001066/0.3408, allocations: 117.8 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.3408, allocations: 8.141 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.3411, allocations: 126.2 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3411, allocations: 3.938 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3411, allocations: 4 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3411, allocations: 3.984 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004566/0.3415, allocations: 362.3 kB / 0.5676 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3415, allocations: 4 kB / 0.5676 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.202e-05/0.3416, allocations: 4 kB / 0.5676 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.3416, allocations: 4 kB / 0.5676 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.3416, allocations: 7.875 kB / 0.5676 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3416, allocations: 0 / 0.5676 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.3416, allocations: 4 kB / 0.5676 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.3418, allocations: 208.6 kB / 0.5678 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.876e-05/0.3419, allocations: 11.89 kB / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.3419, allocations: 7.938 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.927e-05/0.3419, allocations: 4 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.342, allocations: 7.984 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.342, allocations: 4 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.3421, allocations: 131.2 kB / 0.568 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3421, allocations: 0 / 0.568 GB, free: 13.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000253/0.3424, allocations: 27.92 kB / 0.568 GB, free: 13.31 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.002137/0.3445, allocations: 1.079 MB / 0.5691 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.3447, allocations: 59.89 kB / 0.5691 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3447, allocations: 0 / 0.5691 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.415e-05/0.3448, allocations: 32 kB / 0.5692 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.3451, allocations: 39.28 kB / 0.5692 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.3471, allocations: 1.594 MB / 0.5708 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.3475, allocations: 0.708 MB / 0.5715 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.145e-05/0.3476, allocations: 13.28 kB / 0.5715 GB, free: 9.805 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.042e-05/0.3476, allocations: 31.42 kB / 0.5715 GB, free: 9.773 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3476, allocations: 0 / 0.5715 GB, free: 9.773 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.3708, allocations: 3.531 MB / 0.5749 GB, free: 6.293 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.89, allocations: 8.062 kB / 0.575 GB, free: 6.285 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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: 13.795947504986543]