Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.001263/0.001263, 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.00137/0.00137, 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.408/1.408, allocations: 230.5 MB / 258.2 MB, free: 7.805 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.2185/0.2185, allocations: 46.96 MB / 361.6 MB, free: 3.914 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.Test79,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 79.88 kB / 0.497 GB, free: 7.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2965, allocations: 66.08 MB / 0.5615 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003417/0.3, allocations: 1.862 MB / 0.5633 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.3018, allocations: 1.075 MB / 0.5644 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.001e-05/0.3019, allocations: 3.938 kB / 0.5644 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005169/0.3025, allocations: 223.4 kB / 0.5646 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000448/0.3029, allocations: 223.2 kB / 0.5648 GB, free: 460 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.3032, allocations: 115.7 kB / 0.5649 GB, free: 344 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003174/0.3035, allocations: 263.2 kB / 0.5652 GB, free: 80 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.3036, allocations: 23.78 kB / 0.5652 GB, free: 56 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.3038, allocations: 123.5 kB / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.304, allocations: 175.5 kB / 0.5655 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.87e-05/0.304, allocations: 8 kB / 0.5655 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.3042, allocations: 67.91 kB / 0.5655 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.386e-05/0.3042, allocations: 63.77 kB / 0.5656 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.035e-05/0.3043, allocations: 63.48 kB / 0.5657 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.3047, allocations: 254.7 kB / 0.5659 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3047, allocations: 0 / 0.5659 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3047, allocations: 0 / 0.5659 GB, free: 15.31 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.3047, allocations: 0 / 0.5659 GB, free: 15.31 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.0007344/0.3054, allocations: 0.4964 MB / 0.5664 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.3054, allocations: 12.03 kB / 0.5664 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.888e-05/0.3055, allocations: 8.188 kB / 0.5664 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.788e-05/0.3055, allocations: 38.69 kB / 0.5665 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.3056, allocations: 40.67 kB / 0.5665 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.3059, allocations: 218.5 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.3059, allocations: 12.36 kB / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.3059, allocations: 8.375 kB / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.3062, allocations: 115.2 kB / 0.5668 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3062, allocations: 3.938 kB / 0.5668 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.3062, allocations: 11.98 kB / 0.5668 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3062, allocations: 0 / 0.5668 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.3063, allocations: 47.97 kB / 0.5669 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005507/0.3069, allocations: 439.8 kB / 0.5673 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/0.3073, allocations: 117.2 kB / 0.5674 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.3074, allocations: 49.75 kB / 0.5675 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.3074, allocations: 0 / 0.5675 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002413/0.3076, allocations: 128.4 kB / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.3076, allocations: 0 / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001335/0.309, allocations: 0.5166 MB / 0.5681 GB, free: 12.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.309, allocations: 85.05 kB / 0.5682 GB, free: 12.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004694/0.3095, allocations: 448.5 kB / 0.5686 GB, free: 12.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.3095, allocations: 33.7 kB / 0.5686 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.3096, allocations: 168.5 kB / 0.5688 GB, free: 12.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.628e-05/0.3097, allocations: 75.42 kB / 0.5689 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.741e-05/0.3098, allocations: 41.7 kB / 0.5689 GB, free: 12.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.3099, allocations: 346.8 kB / 0.5692 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.31, allocations: 59.97 kB / 0.5693 GB, free: 11.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.3102, allocations: 88.72 kB / 0.5694 GB, free: 11.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.3105, allocations: 163.6 kB / 0.5695 GB, free: 11.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3105, allocations: 7.938 kB / 0.5695 GB, free: 11.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004166/0.3109, allocations: 245.2 kB / 0.5698 GB, free: 11.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3109, allocations: 15.88 kB / 0.5698 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3109, allocations: 0 / 0.5698 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3109, allocations: 4 kB / 0.5698 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.3111, allocations: 43.97 kB / 0.5698 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3111, allocations: 4 kB / 0.5698 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.284e-05/0.3112, allocations: 7.953 kB / 0.5699 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.3112, allocations: 15.94 kB / 0.5699 GB, free: 11 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.0001532/0.3113, allocations: 162.2 kB / 0.57 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/0.3114, allocations: 39.81 kB / 0.5701 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005516/0.3119, allocations: 284.9 kB / 0.5703 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.3119, allocations: 4 kB / 0.5703 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.312, allocations: 0 / 0.5703 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.312, allocations: 3.984 kB / 0.5703 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009931/0.313, allocations: 0.7068 MB / 0.571 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.313, allocations: 0 / 0.571 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.3131, allocations: 40.05 kB / 0.5711 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3131, allocations: 0 / 0.5711 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.3131, allocations: 15.98 kB / 0.5711 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.3131, allocations: 3.984 kB / 0.5711 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3131, allocations: 4 kB / 0.5711 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005414/0.3136, allocations: 441.7 kB / 0.5715 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.3137, allocations: 31.77 kB / 0.5715 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.696e-05/0.3137, allocations: 7.984 kB / 0.5715 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.3139, allocations: 8 kB / 0.5716 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.3139, allocations: 28.09 kB / 0.5716 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/0.314, allocations: 15.98 kB / 0.5716 GB, free: 9.121 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003686/0.3143, allocations: 343 kB / 0.5719 GB, free: 8.785 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3143, allocations: 0 / 0.5719 GB, free: 8.785 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003618/0.3147, allocations: 47.94 kB / 0.572 GB, free: 8.738 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.002889/0.3176, allocations: 1.419 MB / 0.5734 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003816/0.318, allocations: 163.8 kB / 0.5735 GB, free: 7.324 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.318, allocations: 0 / 0.5735 GB, free: 7.324 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.3181, allocations: 80.02 kB / 0.5736 GB, free: 7.246 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005492/0.3187, allocations: 65.89 kB / 0.5737 GB, free: 7.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/0.3223, allocations: 2.908 MB / 0.5765 GB, free: 4.148 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.3224, allocations: 169.1 kB / 0.5767 GB, free: 3.961 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.3225, allocations: 41.92 kB / 0.5767 GB, free: 3.922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.3227, allocations: 103.4 kB / 0.5768 GB, free: 3.82 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3227, allocations: 0 / 0.5768 GB, free: 3.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.3495, allocations: 6.97 MB / 0.5836 GB, free: 12.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.35, allocations: 11.94 kB / 0.5836 GB, free: 12.89 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.326500350027345]