Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.001292/0.001292, 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.001614/0.001614, allocations: 213.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.542/1.542, 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.2616/0.2616, 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.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 87.84 kB / 0.4963 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.325, allocations: 66.07 MB / 0.5608 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003729/0.3287, allocations: 1.737 MB / 0.5625 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00323/0.3319, allocations: 1.738 MB / 0.5642 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.3321, allocations: 7.938 kB / 0.5642 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003791/0.3324, allocations: 39.77 kB / 0.5642 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004408/0.3329, allocations: 99.53 kB / 0.5643 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.3331, allocations: 79.67 kB / 0.5644 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.3334, allocations: 103.8 kB / 0.5645 GB, free: 444 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.3335, allocations: 17.75 kB / 0.5645 GB, free: 428 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.3336, allocations: 55.72 kB / 0.5646 GB, free: 372 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.3338, allocations: 39.83 kB / 0.5646 GB, free: 332 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.3339, allocations: 8 kB / 0.5646 GB, free: 324 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002421/0.3341, allocations: 107.9 kB / 0.5647 GB, free: 216 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.352e-05/0.3342, allocations: 27.91 kB / 0.5648 GB, free: 188 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.866e-05/0.3342, allocations: 31.8 kB / 0.5648 GB, free: 156 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.3346, allocations: 171.5 kB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3346, allocations: 3.938 kB / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3346, allocations: 0 / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.3346, allocations: 4 kB / 0.565 GB, free: 15.97 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.0006717/0.3353, allocations: 349.5 kB / 0.5653 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.3353, allocations: 8.031 kB / 0.5653 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.752e-05/0.3354, allocations: 30.75 kB / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/0.3354, allocations: 16.84 kB / 0.5653 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.3358, allocations: 154.3 kB / 0.5655 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.3358, allocations: 8.375 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.3358, allocations: 3.938 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.336, allocations: 71.39 kB / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.336, allocations: 7.875 kB / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.336, allocations: 0 / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.336, allocations: 0 / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.887e-05/0.3361, allocations: 19.98 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.3366, allocations: 263.9 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.3368, allocations: 58.62 kB / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.878e-05/0.3368, allocations: 20.84 kB / 0.5659 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.3368, allocations: 0 / 0.5659 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.337, allocations: 63.39 kB / 0.566 GB, free: 14.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.337, allocations: 0 / 0.566 GB, free: 14.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006399/0.3377, allocations: 173.4 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.429e-05/0.3377, allocations: 85.11 kB / 0.5662 GB, free: 14.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.338, allocations: 162.4 kB / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.338, allocations: 25.7 kB / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.906e-05/0.3381, allocations: 100.1 kB / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.3381, allocations: 27.75 kB / 0.5665 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.3382, allocations: 25.7 kB / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3383, allocations: 322.8 kB / 0.5669 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.096e-05/0.3384, allocations: 28.31 kB / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.558e-05/0.3385, allocations: 42.5 kB / 0.5669 GB, free: 13.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.3386, allocations: 69.75 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.3386, allocations: 4 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001953/0.3388, allocations: 93.58 kB / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.3388, allocations: 12.05 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3388, allocations: 4 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.3388, allocations: 0 / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.528e-05/0.3389, allocations: 12 kB / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3389, allocations: 0 / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.547e-05/0.339, allocations: 11.94 kB / 0.5671 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.339, allocations: 7.984 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.0001326/0.3391, allocations: 117.8 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.3392, allocations: 11.95 kB / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.3394, allocations: 114.4 kB / 0.5674 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3394, allocations: 0 / 0.5674 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.3394, allocations: 0 / 0.5674 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.3395, allocations: 3.938 kB / 0.5674 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000537/0.34, allocations: 370.3 kB / 0.5677 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.34, allocations: 4 kB / 0.5677 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.17e-05/0.34, allocations: 4 kB / 0.5677 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.34, allocations: 7.938 kB / 0.5677 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.34, allocations: 12 kB / 0.5678 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.34, allocations: 0 / 0.5678 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.34, allocations: 4 kB / 0.5678 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.3403, allocations: 204.3 kB / 0.568 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.3403, allocations: 3.953 kB / 0.568 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.3404, allocations: 11.94 kB / 0.568 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.1e-05/0.3405, allocations: 7.984 kB / 0.568 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.3405, allocations: 4 kB / 0.568 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.3405, allocations: 7.984 kB / 0.568 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.3406, allocations: 127.9 kB / 0.5681 GB, free: 12.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3406, allocations: 0 / 0.5681 GB, free: 12.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003197/0.341, allocations: 47.88 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.00271/0.3437, allocations: 1.188 MB / 0.5693 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.3439, allocations: 63.78 kB / 0.5694 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.3439, allocations: 4.062 kB / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.699e-05/0.344, allocations: 28.12 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.0003483/0.3443, allocations: 27.06 kB / 0.5694 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.3463, allocations: 1.589 MB / 0.571 GB, free: 9.559 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.3467, allocations: 0.7041 MB / 0.5717 GB, free: 8.828 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.921e-05/0.3467, allocations: 12.97 kB / 0.5717 GB, free: 8.816 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.353e-05/0.3468, allocations: 39.36 kB / 0.5717 GB, free: 8.777 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3468, allocations: 0 / 0.5717 GB, free: 8.777 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03308/0.3799, allocations: 4.206 MB / 0.5758 GB, free: 4.586 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.5, allocations: 11.91 kB / 0.5758 GB, free: 4.574 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.654103434178978]