Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.001268/0.001268, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001318/0.001318, allocations: 204.5 kB / 23.72 MB, free: 4.391 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.444/1.444, allocations: 230.5 MB / 257.4 MB, free: 7.762 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.2638/0.2638, allocations: 46.94 MB / 360.8 MB, free: 3.945 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.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 83.86 kB / 0.4962 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3281, allocations: 66.08 MB / 0.5607 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003735/0.3319, allocations: 1.677 MB / 0.5624 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.3336, allocations: 0.9437 MB / 0.5633 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.661e-05/0.3337, allocations: 3.938 kB / 0.5633 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.334, allocations: 63.78 kB / 0.5634 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003751/0.3344, allocations: 115.5 kB / 0.5635 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.3346, allocations: 67.75 kB / 0.5635 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.3348, allocations: 111.6 kB / 0.5637 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.3348, allocations: 4.219 kB / 0.5637 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.903e-05/0.3349, allocations: 47.78 kB / 0.5637 GB, free: 1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.335, allocations: 47.83 kB / 0.5637 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.3351, allocations: 4 kB / 0.5637 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.288e-05/0.3352, allocations: 35.92 kB / 0.5638 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.08e-05/0.3352, allocations: 27.84 kB / 0.5638 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.3353, allocations: 19.88 kB / 0.5638 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.3355, allocations: 113.4 kB / 0.5639 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.3355, allocations: 0 / 0.5639 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3355, allocations: 3.938 kB / 0.5639 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.3355, allocations: 0 / 0.5639 GB, free: 0.7539 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005284/0.336, allocations: 341.6 kB / 0.5643 GB, free: 400 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3361, allocations: 8.031 kB / 0.5643 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.3361, allocations: 34.75 kB / 0.5643 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.3361, allocations: 12.84 kB / 0.5643 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.3364, allocations: 147 kB / 0.5645 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.3364, allocations: 4.375 kB / 0.5645 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.3364, allocations: 4.375 kB / 0.5645 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.3366, allocations: 57.8 kB / 0.5645 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3366, allocations: 0 / 0.5645 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.3366, allocations: 0 / 0.5645 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3366, allocations: 0 / 0.5645 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.205e-05/0.3367, allocations: 15.98 kB / 0.5645 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.3369, allocations: 156.7 kB / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.3371, allocations: 58.53 kB / 0.5647 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.808e-05/0.3371, allocations: 24.84 kB / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.3371, allocations: 0 / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.3373, allocations: 71.33 kB / 0.5648 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3373, allocations: 0 / 0.5648 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002828/0.3376, allocations: 97.56 kB / 0.5649 GB, free: 15.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.3376, allocations: 55.39 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.3378, allocations: 202.3 kB / 0.5652 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3378, allocations: 29.7 kB / 0.5652 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.566e-05/0.3379, allocations: 100.1 kB / 0.5653 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.3379, allocations: 15.83 kB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.338, allocations: 25.72 kB / 0.5653 GB, free: 15.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3381, allocations: 322.8 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.495e-05/0.3382, allocations: 19.98 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.789e-05/0.3382, allocations: 29.64 kB / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.3383, allocations: 45.91 kB / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3383, allocations: 0 / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001726/0.3385, allocations: 93.52 kB / 0.5658 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3385, allocations: 6.5 kB / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3385, allocations: 8.031 kB / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3386, allocations: 0 / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.192e-05/0.3386, allocations: 15.92 kB / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.3386, allocations: 0 / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.007e-05/0.3387, allocations: 8 kB / 0.5659 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.3387, allocations: 0 / 0.5659 GB, free: 14.58 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 (7): * Single equations (assignments): 7 * 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.0001021/0.3388, allocations: 121.8 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.3388, allocations: 15.88 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.3391, allocations: 102.6 kB / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3391, allocations: 0 / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3391, allocations: 4 kB / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3391, allocations: 0 / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.3392, allocations: 160.7 kB / 0.5662 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3392, allocations: 3.938 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.779e-05/0.3393, allocations: 4 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3393, allocations: 0 / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.3393, allocations: 0 / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3393, allocations: 4 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3393, allocations: 0 / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.3395, allocations: 109.1 kB / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/0.3395, allocations: 23.83 kB / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.3395, allocations: 0 / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.214e-05/0.3396, allocations: 8.188 kB / 0.5664 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.3396, allocations: 7.984 kB / 0.5664 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.3396, allocations: 7.938 kB / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.3397, allocations: 148.2 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3397, allocations: 4 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000213/0.3399, allocations: 19.94 kB / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001947/0.3419, allocations: 0.9683 MB / 0.5675 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.3421, allocations: 55.91 kB / 0.5676 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3421, allocations: 0 / 0.5676 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.189e-05/0.3421, allocations: 16 kB / 0.5676 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.3424, allocations: 31.34 kB / 0.5676 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.3441, allocations: 1.524 MB / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.503e-05/0.3442, allocations: 97.25 kB / 0.5692 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.75e-05/0.3442, allocations: 16.47 kB / 0.5692 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.439e-05/0.3443, allocations: 35.44 kB / 0.5692 GB, free: 11.05 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3443, allocations: 0 / 0.5692 GB, free: 11.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03039/0.3747, allocations: 3.831 MB / 0.573 GB, free: 7.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.21, allocations: 4 kB / 0.573 GB, free: 7.238 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.177078011445701]