Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001609/0.001609, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001852/0.001852, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2407/0.2407, 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.002408/0.002408, allocations: 87 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1086, allocations: 62.44 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003732/0.1123, allocations: 1.943 MB / 482.2 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.1146, allocations: 1.06 MB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.1148, allocations: 0 / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004514/0.1153, allocations: 47.7 kB / 483.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005639/0.1159, allocations: 99.48 kB / 483.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.1163, allocations: 91.64 kB / 483.5 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003572/0.1167, allocations: 147.5 kB / 483.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.1169, allocations: 33.53 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.1171, allocations: 55.73 kB / 483.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.1172, allocations: 47.7 kB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.1172, allocations: 8 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.1174, allocations: 51.92 kB / 483.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.984e-05/0.1175, allocations: 19.92 kB / 483.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.877e-05/0.1176, allocations: 55.61 kB / 483.9 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.118, allocations: 151.8 kB / 484 MB, free: 1.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.118, allocations: 7.938 kB / 484 MB, free: 1.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.118, allocations: 0 / 484 MB, free: 1.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1181, allocations: 0 / 484 MB, free: 1.312 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008495/0.1189, allocations: 488.4 kB / 484.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.119, allocations: 11.97 kB / 484.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.186e-05/0.119, allocations: 42.73 kB / 484.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/0.1191, allocations: 12.75 kB / 484.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.1194, allocations: 233.6 kB / 484.8 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1195, allocations: 4.375 kB / 484.8 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.1195, allocations: 15.94 kB / 484.8 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.1198, allocations: 104.2 kB / 484.9 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1198, allocations: 0 / 484.9 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.1198, allocations: 8 kB / 484.9 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1198, allocations: 0 / 484.9 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.12, allocations: 51.91 kB / 485 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006981/0.1207, allocations: 0.5009 MB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003794/0.1211, allocations: 94.59 kB / 485.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.1212, allocations: 40.84 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.1213, allocations: 3.984 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003439/0.1216, allocations: 75.38 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 2.194e-06/0.1216, allocations: 0 / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004764/0.1221, allocations: 153.3 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.1222, allocations: 51.41 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.1225, allocations: 198.2 kB / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.1225, allocations: 33.64 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.1227, allocations: 123.9 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.1227, allocations: 23.62 kB / 486.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/0.1228, allocations: 33.7 kB / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1229, allocations: 331.2 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.433e-05/0.123, allocations: 27.98 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.1232, allocations: 60.27 kB / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.1234, allocations: 104.1 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.1234, allocations: 0 / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002955/0.1237, allocations: 129.4 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.1237, allocations: 11.98 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1238, allocations: 4.125 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1238, allocations: 7.875 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.1239, allocations: 23.94 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.1239, allocations: 7.984 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.575e-05/0.124, allocations: 11.94 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.124, allocations: 4 kB / 487 MB, free: 14.05 MB / 366.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.0001191/0.1241, allocations: 132.3 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.1242, allocations: 19.8 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.213e-05/0.1242, allocations: 21.41 kB / 487.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1242, allocations: 7.938 kB / 487.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.1242, allocations: 0 / 487.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1243, allocations: 4 kB / 487.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.1245, allocations: 213.5 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1245, allocations: 0 / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.841e-05/0.1246, allocations: 8 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1246, allocations: 0 / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1246, allocations: 4 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.1246, allocations: 7.922 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1246, allocations: 0 / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003924/0.125, allocations: 184.9 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-05/0.1251, allocations: 88.98 kB / 487.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.1251, allocations: 4 kB / 487.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.56e-05/0.1252, allocations: 11.92 kB / 487.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.1253, allocations: 7.984 kB / 487.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.1253, allocations: 4 kB / 487.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.1254, allocations: 148.5 kB / 487.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1254, allocations: 0 / 487.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.1257, allocations: 24 kB / 487.9 MB, free: 13.08 MB / 366.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.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.00206/0.1278, allocations: 1.019 MB / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002852/0.1281, allocations: 79.91 kB / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.1281, allocations: 0 / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.1282, allocations: 48.03 kB / 489 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.1286, allocations: 37.16 kB / 489 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.1311, allocations: 1.737 MB / 490.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.1316, allocations: 0.72 MB / 491.5 MB, free: 9.422 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000111/0.1317, allocations: 21.41 kB / 491.5 MB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.788e-05/0.1318, allocations: 43.42 kB / 491.6 MB, free: 9.359 MB / 366.1 MB Notification: Performance of SimCode: time 1.173e-06/0.1318, allocations: 0 / 491.6 MB, free: 9.359 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05474/0.1866, allocations: 3.752 MB / 495.3 MB, free: 5.695 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.029/8.216, allocations: 15.98 kB / 495.3 MB, free: 5.68 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1)