Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.001649/0.001649, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.00216/0.00216, allocations: 208.7 kB / 24.51 MB, free: 3.941 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.385/1.385, allocations: 230.5 MB / 258.2 MB, free: 7.82 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.2203/0.2203, allocations: 46.95 MB / 361.6 MB, free: 3.961 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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 75.88 kB / 0.497 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3184, allocations: 66.08 MB / 0.5615 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003569/0.322, allocations: 1.896 MB / 0.5633 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.3239, allocations: 1.006 MB / 0.5643 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.324, allocations: 11.94 kB / 0.5643 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.3243, allocations: 43.7 kB / 0.5644 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.3246, allocations: 103.5 kB / 0.5645 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.3249, allocations: 91.72 kB / 0.5646 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.3251, allocations: 151.5 kB / 0.5647 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3252, allocations: 27.5 kB / 0.5647 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.391e-05/0.3253, allocations: 55.72 kB / 0.5648 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.3255, allocations: 55.7 kB / 0.5648 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.3255, allocations: 4 kB / 0.5648 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.3256, allocations: 55.92 kB / 0.5649 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.3257, allocations: 23.92 kB / 0.5649 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.886e-05/0.3257, allocations: 47.72 kB / 0.565 GB, free: 480 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.3261, allocations: 155.3 kB / 0.5651 GB, free: 324 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3261, allocations: 0 / 0.5651 GB, free: 324 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3261, allocations: 0 / 0.5651 GB, free: 324 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.3261, allocations: 0 / 0.5651 GB, free: 324 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007289/0.3268, allocations: 411 kB / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3268, allocations: 8.031 kB / 0.5655 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.257e-05/0.3269, allocations: 192 / 0.5655 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.234e-05/0.3269, allocations: 50.67 kB / 0.5656 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/0.3269, allocations: 20.78 kB / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.3272, allocations: 171 kB / 0.5657 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.3273, allocations: 8.375 kB / 0.5658 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.3273, allocations: 4.375 kB / 0.5658 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.3275, allocations: 141.8 kB / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3276, allocations: 0 / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.3276, allocations: 0 / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.3276, allocations: 4 kB / 0.5659 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.3277, allocations: 55.91 kB / 0.5659 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006084/0.3283, allocations: 480.1 kB / 0.5664 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004467/0.3288, allocations: 90.59 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.3289, allocations: 36.83 kB / 0.5665 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.3289, allocations: 4 kB / 0.5665 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002328/0.3291, allocations: 109 kB / 0.5666 GB, free: 14.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.3291, allocations: 4 kB / 0.5666 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004538/0.3296, allocations: 145.5 kB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.3297, allocations: 59.34 kB / 0.5668 GB, free: 14.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.3299, allocations: 207.1 kB / 0.567 GB, free: 14.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.3299, allocations: 25.7 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.33, allocations: 116.1 kB / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.3301, allocations: 31.73 kB / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.278e-05/0.3301, allocations: 25.72 kB / 0.5672 GB, free: 13.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3303, allocations: 334.8 kB / 0.5675 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.551e-05/0.3304, allocations: 23.98 kB / 0.5676 GB, free: 13.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.3305, allocations: 68.27 kB / 0.5676 GB, free: 13.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.3307, allocations: 104.5 kB / 0.5677 GB, free: 13.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3307, allocations: 0 / 0.5677 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000283/0.331, allocations: 141.4 kB / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.331, allocations: 8 kB / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.331, allocations: 0 / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.331, allocations: 0 / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.3311, allocations: 23.98 kB / 0.5679 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.3312, allocations: 7.938 kB / 0.5679 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.27e-05/0.3312, allocations: 19.83 kB / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.3312, allocations: 4.125 kB / 0.5679 GB, free: 13.17 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001391/0.3314, allocations: 135.1 kB / 0.5681 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.3314, allocations: 15.91 kB / 0.5681 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/0.3317, allocations: 135 kB / 0.5682 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3317, allocations: 0 / 0.5682 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3318, allocations: 3.938 kB / 0.5682 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3318, allocations: 0 / 0.5682 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.332, allocations: 180.7 kB / 0.5684 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.332, allocations: 3.984 kB / 0.5684 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.158e-05/0.332, allocations: 12 kB / 0.5684 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.3321, allocations: 4 kB / 0.5684 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.3321, allocations: 3.984 kB / 0.5684 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3321, allocations: 0 / 0.5684 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3321, allocations: 3.938 kB / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.3325, allocations: 193 kB / 0.5686 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.3325, allocations: 19.86 kB / 0.5686 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.3325, allocations: 4 kB / 0.5686 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.559e-05/0.3326, allocations: 12 kB / 0.5686 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.3327, allocations: 15.98 kB / 0.5686 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.3327, allocations: 0 / 0.5686 GB, free: 12.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.3328, allocations: 151.2 kB / 0.5688 GB, free: 12.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3328, allocations: 0 / 0.5688 GB, free: 12.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002367/0.3331, allocations: 27.94 kB / 0.5688 GB, free: 12.19 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.002302/0.3354, allocations: 1.051 MB / 0.5698 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002702/0.3356, allocations: 84.02 kB / 0.5699 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3356, allocations: 0 / 0.5699 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.3357, allocations: 35.92 kB / 0.5699 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.3361, allocations: 54.42 kB / 0.57 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.3387, allocations: 1.769 MB / 0.5717 GB, free: 9.223 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.3389, allocations: 109.8 kB / 0.5718 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.895e-05/0.339, allocations: 17.42 kB / 0.5718 GB, free: 9.078 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.335e-05/0.339, allocations: 39.42 kB / 0.5719 GB, free: 9.039 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.339, allocations: 8 kB / 0.5719 GB, free: 9.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.3649, allocations: 4.205 MB / 0.576 GB, free: 4.867 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.07, allocations: 12 kB / 0.576 GB, free: 4.855 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.076066498993896]