Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001404/0.001404, allocations: 109.7 kB / 19.74 MB, free: 2.586 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.001502/0.001502, allocations: 222.3 kB / 22.92 MB, free: 5.559 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.292/1.292, allocations: 230.2 MB / 256.1 MB, free: 8.613 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1986/0.1986, allocations: 46.9 MB / 359.3 MB, free: 4.941 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 91.83 kB / 0.4941 GB, free: 8.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2767, allocations: 65.99 MB / 0.5585 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003016/0.2797, allocations: 1.928 MB / 0.5604 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.2815, allocations: 1.147 MB / 0.5615 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.2816, allocations: 0 / 0.5615 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003736/0.282, allocations: 167.5 kB / 0.5617 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003739/0.2824, allocations: 191.2 kB / 0.5619 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.2826, allocations: 119.6 kB / 0.562 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.2829, allocations: 239.3 kB / 0.5622 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.855e-05/0.283, allocations: 19.52 kB / 0.5622 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.2831, allocations: 115.5 kB / 0.5623 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.2833, allocations: 143.5 kB / 0.5625 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.2833, allocations: 8 kB / 0.5625 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.2834, allocations: 67.97 kB / 0.5625 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.077e-05/0.2835, allocations: 59.7 kB / 0.5626 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.922e-05/0.2836, allocations: 79.42 kB / 0.5627 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.2839, allocations: 222.9 kB / 0.5629 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2839, allocations: 4 kB / 0.5629 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2839, allocations: 0 / 0.5629 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2839, allocations: 0 / 0.5629 GB, free: 0.6602 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006627/0.2846, allocations: 0.5523 MB / 0.5634 GB, free: 60 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.2846, allocations: 12.03 kB / 0.5634 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.2846, allocations: 34.75 kB / 0.5635 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.284e-05/0.2847, allocations: 28.8 kB / 0.5635 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.285, allocations: 279.7 kB / 0.5638 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.285, allocations: 4.375 kB / 0.5638 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.285, allocations: 15.88 kB / 0.5638 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.2853, allocations: 110.3 kB / 0.5639 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.2853, allocations: 4 kB / 0.5639 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.2853, allocations: 3.984 kB / 0.5639 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.2853, allocations: 0 / 0.5639 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.2854, allocations: 51.97 kB / 0.564 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.2859, allocations: 472.7 kB / 0.5644 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.2863, allocations: 117.2 kB / 0.5645 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.584e-05/0.2864, allocations: 41.81 kB / 0.5646 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.2864, allocations: 4 kB / 0.5646 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.2866, allocations: 129 kB / 0.5647 GB, free: 14.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.2866, allocations: 4 kB / 0.5647 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001189/0.2878, allocations: 497 kB / 0.5652 GB, free: 14.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.2878, allocations: 77.11 kB / 0.5652 GB, free: 14.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.2882, allocations: 375.3 kB / 0.5656 GB, free: 13.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.2882, allocations: 29.7 kB / 0.5656 GB, free: 13.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.805e-05/0.2883, allocations: 144.5 kB / 0.5658 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.161e-05/0.2884, allocations: 83.36 kB / 0.5658 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.272e-05/0.2885, allocations: 45.7 kB / 0.5659 GB, free: 13.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2886, allocations: 338.8 kB / 0.5662 GB, free: 13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.2887, allocations: 59.97 kB / 0.5663 GB, free: 12.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.2889, allocations: 91.34 kB / 0.5663 GB, free: 12.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.2891, allocations: 171.4 kB / 0.5665 GB, free: 12.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2891, allocations: 0 / 0.5665 GB, free: 12.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003758/0.2895, allocations: 233.2 kB / 0.5667 GB, free: 12.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.2895, allocations: 4 kB / 0.5667 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2895, allocations: 4 kB / 0.5667 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2895, allocations: 0 / 0.5667 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.2897, allocations: 51.97 kB / 0.5668 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.2897, allocations: 0 / 0.5668 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.626e-05/0.2898, allocations: 8 kB / 0.5668 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.2898, allocations: 8 kB / 0.5668 GB, free: 12.36 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.0001441/0.2899, allocations: 161.7 kB / 0.567 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.29, allocations: 35.75 kB / 0.567 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004738/0.2904, allocations: 260.2 kB / 0.5672 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.2905, allocations: 0 / 0.5672 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.2905, allocations: 12 kB / 0.5673 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2905, allocations: 0 / 0.5673 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008504/0.2913, allocations: 0.7195 MB / 0.568 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2913, allocations: 0 / 0.568 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.566e-05/0.2914, allocations: 36.05 kB / 0.568 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2914, allocations: 0 / 0.568 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.2914, allocations: 12 kB / 0.568 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2914, allocations: 0 / 0.568 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.2914, allocations: 11.88 kB / 0.568 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000461/0.2919, allocations: 424.8 kB / 0.5684 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.288e-05/0.292, allocations: 96.97 kB / 0.5685 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.292, allocations: 8 kB / 0.5685 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.2921, allocations: 11.98 kB / 0.5685 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.2922, allocations: 15.92 kB / 0.5685 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.2922, allocations: 16.17 kB / 0.5686 GB, free: 10.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002713/0.2925, allocations: 285.9 kB / 0.5688 GB, free: 10.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2925, allocations: 3.938 kB / 0.5688 GB, free: 10.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003265/0.2928, allocations: 47.94 kB / 0.5689 GB, free: 10.1 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 (22): * Single equations (assignments): 18 * 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.002399/0.2952, allocations: 1.355 MB / 0.5702 GB, free: 8.887 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003144/0.2955, allocations: 151.9 kB / 0.5704 GB, free: 8.738 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2955, allocations: 0 / 0.5704 GB, free: 8.738 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.2957, allocations: 79.97 kB / 0.5704 GB, free: 8.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/0.2962, allocations: 73.34 kB / 0.5705 GB, free: 8.598 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002985/0.2991, allocations: 2.715 MB / 0.5731 GB, free: 5.758 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.2995, allocations: 0.7597 MB / 0.5739 GB, free: 4.973 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.2996, allocations: 45.91 kB / 0.5739 GB, free: 4.926 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.2997, allocations: 87.41 kB / 0.574 GB, free: 4.84 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.2997, allocations: 0 / 0.574 GB, free: 4.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02636/0.3261, allocations: 6.127 MB / 0.58 GB, free: 14.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.198/7.524, allocations: 15.69 kB / 0.58 GB, free: 14.73 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.057684539002366]