Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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.Test43,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001679/0.00168, allocations: 104.9 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001892/0.001892, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2244/0.2244, allocations: 46.11 MB / 344.2 MB, free: 11.56 MB / 286.1 MB 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.002552/0.002552, allocations: 78.5 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1133, allocations: 62.44 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003238/0.1165, allocations: 1.732 MB / 481.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.1182, allocations: 1.021 MB / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.1183, allocations: 0 / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.1186, allocations: 51.75 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.119, allocations: 95.53 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.1192, allocations: 67.75 kB / 483.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.1194, allocations: 111.6 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.937e-05/0.1195, allocations: 16 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.745e-05/0.1196, allocations: 35.8 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.003e-05/0.1197, allocations: 35.78 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.1197, allocations: 7.984 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.1198, allocations: 43.98 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.338e-05/0.1199, allocations: 19.92 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.437e-05/0.12, allocations: 31.75 kB / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.1202, allocations: 123.8 kB / 483.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1202, allocations: 0 / 483.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1202, allocations: 0 / 483.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.1202, allocations: 4 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005448/0.1208, allocations: 426.9 kB / 484 MB, free: 1.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1208, allocations: 8.031 kB / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.075e-05/0.1209, allocations: 38.73 kB / 484.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.1209, allocations: 12.75 kB / 484.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.1211, allocations: 212.1 kB / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.1212, allocations: 4.375 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.1212, allocations: 3.938 kB / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.1213, allocations: 61.61 kB / 484.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.1214, allocations: 0 / 484.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.1214, allocations: 0 / 484.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1214, allocations: 4 kB / 484.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.38e-05/0.1215, allocations: 19.97 kB / 484.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003614/0.1218, allocations: 288.9 kB / 484.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.122, allocations: 62.61 kB / 484.7 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.774e-05/0.1221, allocations: 20.86 kB / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.1221, allocations: 3.984 kB / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/0.1223, allocations: 75.31 kB / 484.8 MB, free: 340 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1223, allocations: 0 / 484.8 MB, free: 340 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005295/0.1229, allocations: 177.1 kB / 485 MB, free: 156 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.1229, allocations: 59.39 kB / 485 MB, free: 84 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.1232, allocations: 206.3 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.1232, allocations: 25.7 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.1e-05/0.1233, allocations: 108.1 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.1233, allocations: 19.72 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.1233, allocations: 25.64 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1235, allocations: 326.8 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.452e-05/0.1236, allocations: 23.98 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.922e-05/0.1236, allocations: 33.66 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.1238, allocations: 61.7 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1238, allocations: 0 / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002031/0.124, allocations: 109.4 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.124, allocations: 8 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.124, allocations: 0 / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.124, allocations: 4.031 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.742e-05/0.1241, allocations: 12 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.1241, allocations: 4 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.904e-05/0.1242, allocations: 11.86 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.1242, allocations: 4.156 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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.0001073/0.1243, allocations: 129.2 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.1244, allocations: 15.89 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.631e-05/0.1244, allocations: 17.39 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1244, allocations: 8 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1244, allocations: 0 / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.1245, allocations: 3.938 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/0.1249, allocations: 399.2 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1249, allocations: 0 / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.694e-05/0.125, allocations: 8 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.125, allocations: 3.938 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.125, allocations: 8 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.125, allocations: 4.031 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.125, allocations: 0 / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.1253, allocations: 200.2 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.1253, allocations: 89.11 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.1254, allocations: 8.312 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.52e-05/0.1255, allocations: 7.938 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.1255, allocations: 15.98 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.1255, allocations: 4 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001479/0.1257, allocations: 160.8 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1257, allocations: 0 / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.1259, allocations: 23.98 kB / 487.1 MB, free: 13.88 MB / 366.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: 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 (8): * Single equations (assignments): 6 * 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.002117/0.1281, allocations: 1.093 MB / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.1283, allocations: 63.89 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1283, allocations: 4.062 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.352e-05/0.1284, allocations: 24 kB / 488.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.1287, allocations: 33.72 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.1306, allocations: 1.69 MB / 490 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.131, allocations: 0.7041 MB / 490.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.45e-05/0.1311, allocations: 20.53 kB / 490.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.661e-05/0.1312, allocations: 39.42 kB / 490.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1312, allocations: 0 / 490.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.1576, allocations: 3.43 MB / 494.2 MB, free: 6.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.291/8.449, allocations: 11.78 kB / 494.2 MB, free: 6.875 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1)