Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.00151/0.00151, 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.001484/0.001484, allocations: 205.8 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.397/1.397, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.2211/0.2211, allocations: 46.94 MB / 360.8 MB, free: 3.922 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.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 83.86 kB / 0.4962 GB, free: 7.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3163, allocations: 66.08 MB / 0.5607 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003434/0.3197, allocations: 1.774 MB / 0.5625 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002858/0.3226, allocations: 1.742 MB / 0.5642 GB, free: 468 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.858e-05/0.3226, allocations: 0 / 0.5642 GB, free: 468 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.3229, allocations: 51.7 kB / 0.5642 GB, free: 416 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003977/0.3233, allocations: 147.3 kB / 0.5644 GB, free: 268 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.3235, allocations: 107.7 kB / 0.5645 GB, free: 160 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000285/0.3238, allocations: 207.4 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.013e-05/0.3239, allocations: 9.812 kB / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.324, allocations: 91.56 kB / 0.5648 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.3242, allocations: 71.67 kB / 0.5648 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.3242, allocations: 12 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.3244, allocations: 107.8 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.478e-05/0.3245, allocations: 39.84 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.657e-05/0.3246, allocations: 55.59 kB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.3249, allocations: 225 kB / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.898e-06/0.3249, allocations: 4 kB / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3249, allocations: 0 / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.3249, allocations: 3.938 kB / 0.5653 GB, free: 15.34 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007335/0.3257, allocations: 428.9 kB / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3257, allocations: 12.03 kB / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.731e-05/0.3258, allocations: 42.62 kB / 0.5657 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.158e-05/0.3258, allocations: 16.84 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.3262, allocations: 190.1 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.3262, allocations: 4.375 kB / 0.5659 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.3262, allocations: 4.375 kB / 0.5659 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.3265, allocations: 156.5 kB / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.3265, allocations: 0 / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.3265, allocations: 8 kB / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3265, allocations: 0 / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.3267, allocations: 31.97 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.3269, allocations: 181.7 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.3272, allocations: 109.2 kB / 0.5664 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.609e-05/0.3273, allocations: 41.69 kB / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.3273, allocations: 4 kB / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.3275, allocations: 117 kB / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.3275, allocations: 0 / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004733/0.328, allocations: 173.4 kB / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.295e-05/0.3281, allocations: 132.5 kB / 0.5668 GB, free: 13.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.3284, allocations: 246.3 kB / 0.5671 GB, free: 13.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.3284, allocations: 25.7 kB / 0.5671 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.136e-05/0.3285, allocations: 124.1 kB / 0.5672 GB, free: 13.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.3286, allocations: 31.73 kB / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.3286, allocations: 37.7 kB / 0.5673 GB, free: 13.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3288, allocations: 326.8 kB / 0.5676 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.02e-05/0.3289, allocations: 35.97 kB / 0.5676 GB, free: 12.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.329, allocations: 120.5 kB / 0.5677 GB, free: 12.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.3292, allocations: 95.84 kB / 0.5678 GB, free: 12.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3292, allocations: 0 / 0.5678 GB, free: 12.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000299/0.3295, allocations: 153.4 kB / 0.568 GB, free: 12.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3295, allocations: 8 kB / 0.568 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3295, allocations: 0 / 0.568 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3295, allocations: 0 / 0.568 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.3297, allocations: 23.98 kB / 0.568 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3297, allocations: 3.938 kB / 0.568 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.462e-05/0.3298, allocations: 11.89 kB / 0.568 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.3298, allocations: 8 kB / 0.568 GB, free: 12.2 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001286/0.3299, allocations: 133.8 kB / 0.5682 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.103e-05/0.3299, allocations: 23.84 kB / 0.5682 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003676/0.3303, allocations: 166.7 kB / 0.5683 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3303, allocations: 0 / 0.5683 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3303, allocations: 0 / 0.5683 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3303, allocations: 0 / 0.5683 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.3305, allocations: 192.6 kB / 0.5685 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3305, allocations: 3.938 kB / 0.5685 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.433e-05/0.3306, allocations: 8 kB / 0.5685 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3306, allocations: 0 / 0.5685 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.3306, allocations: 4 kB / 0.5685 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3306, allocations: 256 / 0.5685 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3306, allocations: 4 kB / 0.5686 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.3309, allocations: 189.8 kB / 0.5687 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-05/0.331, allocations: 27.78 kB / 0.5688 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.331, allocations: 7.938 kB / 0.5688 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.198e-05/0.3311, allocations: 4 kB / 0.5688 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.3311, allocations: 11.97 kB / 0.5688 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.3312, allocations: 12 kB / 0.5688 GB, free: 11.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000196/0.3313, allocations: 180.5 kB / 0.569 GB, free: 11.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3313, allocations: 0 / 0.569 GB, free: 11.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.3316, allocations: 59.86 kB / 0.569 GB, free: 11.11 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.002386/0.334, allocations: 1.145 MB / 0.5701 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002862/0.3343, allocations: 87.89 kB / 0.5702 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3343, allocations: 0 / 0.5702 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.3344, allocations: 39.92 kB / 0.5703 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.3348, allocations: 65.72 kB / 0.5703 GB, free: 9.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.3373, allocations: 1.92 MB / 0.5722 GB, free: 7.898 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.3374, allocations: 103.5 kB / 0.5723 GB, free: 7.781 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.3375, allocations: 37.45 kB / 0.5723 GB, free: 7.746 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.3376, allocations: 59.41 kB / 0.5724 GB, free: 7.688 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3376, allocations: 0 / 0.5724 GB, free: 7.688 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03517/0.3727, allocations: 6.226 MB / 0.5785 GB, free: 1.488 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.59, allocations: 6.188 kB / 0.5785 GB, free: 1.484 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.443734202068299]