Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.001391/0.001391, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001391/0.001391, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.454/1.454, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.2196/0.2196, allocations: 46.96 MB / 360.8 MB, free: 3.93 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.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 87.84 kB / 0.4962 GB, free: 7.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3123, allocations: 66.07 MB / 0.5608 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003613/0.316, allocations: 1.884 MB / 0.5626 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.318, allocations: 1.073 MB / 0.5636 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.552e-05/0.3181, allocations: 8 kB / 0.5636 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003947/0.3185, allocations: 163.5 kB / 0.5638 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005049/0.319, allocations: 183.3 kB / 0.564 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.3192, allocations: 115.6 kB / 0.5641 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003038/0.3195, allocations: 247.3 kB / 0.5643 GB, free: 352 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.3197, allocations: 23.77 kB / 0.5643 GB, free: 328 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.3198, allocations: 111.5 kB / 0.5645 GB, free: 216 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.32, allocations: 143.5 kB / 0.5646 GB, free: 72 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.32, allocations: 12 kB / 0.5646 GB, free: 60 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.3202, allocations: 59.98 kB / 0.5647 GB, free: 0 / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.3203, allocations: 55.77 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.077e-05/0.3203, allocations: 63.53 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.3207, allocations: 226.9 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3207, allocations: 4 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3207, allocations: 3.938 kB / 0.565 GB, free: 15.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.138e-06/0.3207, allocations: 3.938 kB / 0.565 GB, free: 15.65 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.0007161/0.3214, allocations: 484.5 kB / 0.5655 GB, free: 15.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.3215, allocations: 12.03 kB / 0.5655 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.431e-05/0.3215, allocations: 38.75 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.542e-05/0.3216, allocations: 28.73 kB / 0.5655 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.3219, allocations: 214.5 kB / 0.5657 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.3219, allocations: 384 / 0.5657 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.322, allocations: 12.38 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.3222, allocations: 115.4 kB / 0.5659 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3222, allocations: 0 / 0.5659 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.3222, allocations: 4 kB / 0.5659 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3222, allocations: 0 / 0.5659 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.3224, allocations: 63.88 kB / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006302/0.323, allocations: 419.9 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.3234, allocations: 121.2 kB / 0.5664 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.3235, allocations: 49.8 kB / 0.5665 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.3235, allocations: 0 / 0.5665 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002759/0.3238, allocations: 137.1 kB / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 3.817e-06/0.3238, allocations: 4 kB / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001314/0.3251, allocations: 0.5049 MB / 0.5671 GB, free: 13.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.3252, allocations: 81.11 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004142/0.3256, allocations: 380.5 kB / 0.5676 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.3256, allocations: 29.7 kB / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.3257, allocations: 144.5 kB / 0.5677 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.923e-05/0.3258, allocations: 79.38 kB / 0.5678 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.86e-05/0.3259, allocations: 41.7 kB / 0.5678 GB, free: 12.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3261, allocations: 342.8 kB / 0.5682 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.3262, allocations: 59.97 kB / 0.5682 GB, free: 12.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.3264, allocations: 99.27 kB / 0.5683 GB, free: 12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.3267, allocations: 167.5 kB / 0.5685 GB, free: 11.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.3267, allocations: 0 / 0.5685 GB, free: 11.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004272/0.3271, allocations: 233.3 kB / 0.5687 GB, free: 11.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.3271, allocations: 18.39 kB / 0.5687 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3271, allocations: 3.938 kB / 0.5687 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3271, allocations: 4 kB / 0.5687 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.3273, allocations: 39.92 kB / 0.5688 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3273, allocations: 4 kB / 0.5688 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.347e-05/0.3274, allocations: 11.98 kB / 0.5688 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.3274, allocations: 8 kB / 0.5688 GB, free: 11.51 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.0001646/0.3276, allocations: 157.8 kB / 0.5689 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/0.3276, allocations: 27.81 kB / 0.569 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005849/0.3282, allocations: 287.9 kB / 0.5692 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.3282, allocations: 4 kB / 0.5692 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3282, allocations: 0 / 0.5692 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3282, allocations: 0 / 0.5692 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.3293, allocations: 0.699 MB / 0.5699 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.3293, allocations: 0 / 0.5699 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.778e-05/0.3294, allocations: 35.92 kB / 0.57 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.3294, allocations: 128 / 0.57 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.3294, allocations: 12 kB / 0.57 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.3294, allocations: 4 kB / 0.57 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3294, allocations: 3.938 kB / 0.57 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005669/0.33, allocations: 441.8 kB / 0.5704 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.33, allocations: 23.84 kB / 0.5704 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/0.3301, allocations: 8 kB / 0.5704 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.3302, allocations: 19.94 kB / 0.5705 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.004e-05/0.3303, allocations: 23.84 kB / 0.5705 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.318e-05/0.3303, allocations: 15.98 kB / 0.5705 GB, free: 9.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000339/0.3307, allocations: 283 kB / 0.5708 GB, free: 9.383 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3307, allocations: 0 / 0.5708 GB, free: 9.383 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003785/0.331, allocations: 59.88 kB / 0.5708 GB, free: 9.324 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.002938/0.334, allocations: 1.401 MB / 0.5722 GB, free: 8.086 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003917/0.3344, allocations: 163.8 kB / 0.5723 GB, free: 7.926 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3344, allocations: 4.125 kB / 0.5723 GB, free: 7.922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.3345, allocations: 79.84 kB / 0.5724 GB, free: 7.844 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005571/0.3351, allocations: 60.77 kB / 0.5725 GB, free: 7.785 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003707/0.3388, allocations: 2.744 MB / 0.5752 GB, free: 4.914 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.339, allocations: 161.6 kB / 0.5753 GB, free: 4.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.3391, allocations: 45.91 kB / 0.5754 GB, free: 4.688 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.3393, allocations: 95.39 kB / 0.5754 GB, free: 4.594 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3393, allocations: 0 / 0.5754 GB, free: 4.594 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03483/0.3741, allocations: 6.913 MB / 0.5822 GB, free: 13.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.59, allocations: 15.94 kB / 0.5822 GB, free: 13.71 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.536139240954071]