Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002306/0.002306, allocations: 212.6 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2145/0.2145, allocations: 44.94 MB / 358.8 MB, free: 6.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 73.92 kB / 0.4931 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3081, allocations: 65.47 MB / 0.557 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003537/0.3116, allocations: 1.979 MB / 0.559 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.3135, allocations: 1.057 MB / 0.56 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.3136, allocations: 4 kB / 0.56 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002888/0.3139, allocations: 47.64 kB / 0.56 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.3143, allocations: 115.4 kB / 0.5601 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.3146, allocations: 111.6 kB / 0.5603 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002894/0.3148, allocations: 203.4 kB / 0.5604 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.315, allocations: 31.56 kB / 0.5605 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.3151, allocations: 79.7 kB / 0.5606 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.3152, allocations: 79.59 kB / 0.5606 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.3153, allocations: 12 kB / 0.5606 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.3154, allocations: 51.98 kB / 0.5607 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.068e-05/0.3155, allocations: 47.7 kB / 0.5607 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.62e-05/0.3156, allocations: 55.67 kB / 0.5608 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.3159, allocations: 203.1 kB / 0.561 GB, free: 3.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3159, allocations: 0 / 0.561 GB, free: 3.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3159, allocations: 0 / 0.561 GB, free: 3.465 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.3159, allocations: 4 kB / 0.561 GB, free: 3.461 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009309/0.3168, allocations: 0.4926 MB / 0.5615 GB, free: 2.926 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3168, allocations: 16.02 kB / 0.5615 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.312e-05/0.3169, allocations: 34.75 kB / 0.5615 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.409e-05/0.3169, allocations: 24.78 kB / 0.5615 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.3173, allocations: 186.1 kB / 0.5617 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.3173, allocations: 8.375 kB / 0.5617 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.3173, allocations: 19.88 kB / 0.5617 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004688/0.3178, allocations: 176.7 kB / 0.5619 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3178, allocations: 0 / 0.5619 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.3178, allocations: 4 kB / 0.5619 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3178, allocations: 0 / 0.5619 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004689/0.3183, allocations: 115.8 kB / 0.562 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007637/0.3191, allocations: 0.5039 MB / 0.5625 GB, free: 1.746 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006843/0.3197, allocations: 154.5 kB / 0.5627 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.32, allocations: 72.8 kB / 0.5627 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.32, allocations: 7.984 kB / 0.5627 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004233/0.3205, allocations: 164.9 kB / 0.5629 GB, free: 1.324 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.3205, allocations: 0 / 0.5629 GB, free: 1.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009209/0.3214, allocations: 269.3 kB / 0.5632 GB, free: 1.055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.3214, allocations: 55.41 kB / 0.5632 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.3217, allocations: 236.1 kB / 0.5634 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.3217, allocations: 33.7 kB / 0.5635 GB, free: 0.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.3219, allocations: 124.4 kB / 0.5636 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.3219, allocations: 39.69 kB / 0.5636 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-05/0.322, allocations: 33.7 kB / 0.5637 GB, free: 0.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3221, allocations: 338.8 kB / 0.564 GB, free: 164 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.3224, allocations: 93.64 kB / 0.5641 GB, free: 64 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.3227, allocations: 137.9 kB / 0.5642 GB, free: 15.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005224/0.3233, allocations: 193.8 kB / 0.5644 GB, free: 15.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3233, allocations: 0 / 0.5644 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007051/0.324, allocations: 296.5 kB / 0.5647 GB, free: 15.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.324, allocations: 29.7 kB / 0.5647 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.324, allocations: 4 kB / 0.5647 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.324, allocations: 7.875 kB / 0.5647 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.3242, allocations: 35.91 kB / 0.5647 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.3242, allocations: 7.984 kB / 0.5648 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.3244, allocations: 27.88 kB / 0.5648 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.3244, allocations: 12.05 kB / 0.5648 GB, free: 15.26 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.000143/0.3246, allocations: 141.7 kB / 0.5649 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.3246, allocations: 15.91 kB / 0.5649 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006541/0.3253, allocations: 214.9 kB / 0.5651 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.3253, allocations: 7.938 kB / 0.5652 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3253, allocations: 0 / 0.5652 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3253, allocations: 0 / 0.5652 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.3255, allocations: 196.6 kB / 0.5653 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3255, allocations: 0 / 0.5653 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.3256, allocations: 31.91 kB / 0.5654 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.3256, allocations: 4 kB / 0.5654 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.3257, allocations: 0 / 0.5654 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3257, allocations: 3.938 kB / 0.5654 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3257, allocations: 0 / 0.5654 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009111/0.3266, allocations: 312.9 kB / 0.5657 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.3266, allocations: 23.78 kB / 0.5657 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.3266, allocations: 4 kB / 0.5657 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.3268, allocations: 23.91 kB / 0.5657 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/0.3269, allocations: 23.97 kB / 0.5657 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.3269, allocations: 8 kB / 0.5658 GB, free: 14.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001812/0.3271, allocations: 177.8 kB / 0.5659 GB, free: 14.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3271, allocations: 0 / 0.5659 GB, free: 14.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.3273, allocations: 36 kB / 0.566 GB, free: 13.98 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.002767/0.3301, allocations: 1.191 MB / 0.5671 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006712/0.3308, allocations: 248.8 kB / 0.5674 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3308, allocations: 0 / 0.5674 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002785/0.3311, allocations: 76.19 kB / 0.5674 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.3314, allocations: 55.81 kB / 0.5675 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.3349, allocations: 2.305 MB / 0.5697 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.335, allocations: 120.1 kB / 0.5699 GB, free: 9.988 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.3351, allocations: 17.48 kB / 0.5699 GB, free: 9.973 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.3352, allocations: 63.41 kB / 0.5699 GB, free: 9.91 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3353, allocations: 0 / 0.5699 GB, free: 9.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03396/0.3692, allocations: 5.888 MB / 0.5757 GB, free: 4.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.74, allocations: 11.23 kB / 0.5757 GB, free: 4.082 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.627737548202276] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 11.905793120153248 11.93271254 11.611950444 Calling exit ...