Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001546/0.001546, 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.001743/0.001743, 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.498/1.498, 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.254/0.254, allocations: 46.12 MB / 344.2 MB, free: 11.59 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.002396/0.002396, allocations: 84.19 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.13, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003079/0.1331, allocations: 1.744 MB / 482 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.1347, allocations: 1.029 MB / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.881e-05/0.1348, allocations: 0 / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.1351, allocations: 103.7 kB / 483.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.1354, allocations: 123.5 kB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.1356, allocations: 83.66 kB / 483.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.1358, allocations: 127.6 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.577e-05/0.1359, allocations: 15.98 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.257e-05/0.136, allocations: 59.7 kB / 483.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.1361, allocations: 63.81 kB / 483.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.1362, allocations: 4 kB / 483.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.1363, allocations: 59.98 kB / 483.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.985e-05/0.1364, allocations: 31.83 kB / 483.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.753e-05/0.1364, allocations: 39.69 kB / 483.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.1366, allocations: 139.8 kB / 483.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1366, allocations: 0 / 483.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1366, allocations: 3.938 kB / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.1367, allocations: 8 kB / 483.8 MB, free: 1.508 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000586/0.1373, allocations: 450.8 kB / 484.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1373, allocations: 11.97 kB / 484.3 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.153e-05/0.1373, allocations: 34.75 kB / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.1374, allocations: 12.75 kB / 484.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.1376, allocations: 219.9 kB / 484.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1377, allocations: 4.359 kB / 484.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.1377, allocations: 7.938 kB / 484.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1378, allocations: 73.59 kB / 484.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1379, allocations: 0 / 484.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.1379, allocations: 0 / 484.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1379, allocations: 3.984 kB / 484.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.301e-05/0.138, allocations: 19.98 kB / 484.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.1384, allocations: 308.7 kB / 485 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.1386, allocations: 66.5 kB / 485 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.588e-05/0.1387, allocations: 20.97 kB / 485 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1387, allocations: 0 / 485 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.1389, allocations: 67.39 kB / 485.1 MB, free: 60 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.1389, allocations: 0 / 485.1 MB, free: 60 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000806/0.1397, allocations: 253.1 kB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.1398, allocations: 59.34 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.1401, allocations: 251.2 kB / 485.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1401, allocations: 25.7 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.183e-05/0.1402, allocations: 112.1 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.53e-05/0.1402, allocations: 39.55 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.1403, allocations: 21.72 kB / 485.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1405, allocations: 338.8 kB / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.778e-05/0.1405, allocations: 28 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.695e-05/0.1406, allocations: 52.89 kB / 486.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.1408, allocations: 77.77 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1408, allocations: 0 / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002301/0.141, allocations: 129.4 kB / 486.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.141, allocations: 8 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1411, allocations: 0 / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1411, allocations: 4.031 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.161e-05/0.1412, allocations: 27.92 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.1412, allocations: 7.938 kB / 486.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.873e-05/0.1412, allocations: 4 kB / 486.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1413, allocations: 7.938 kB / 486.5 MB, free: 14.57 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 (13): * Single equations (assignments): 13 * 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.000127/0.1414, allocations: 133.8 kB / 486.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.1414, allocations: 15.81 kB / 486.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.155e-05/0.1415, allocations: 25.39 kB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.1415, allocations: 7.938 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1415, allocations: 0 / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1415, allocations: 3.938 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006722/0.1422, allocations: 459.9 kB / 487.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1422, allocations: 4 kB / 487.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.636e-05/0.1423, allocations: 15.98 kB / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1423, allocations: 64 / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1423, allocations: 4 kB / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1423, allocations: 4 kB / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.1423, allocations: 0 / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.1426, allocations: 236.9 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7e-05/0.1427, allocations: 88.92 kB / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.1427, allocations: 11.94 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.611e-05/0.1428, allocations: 4 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.1428, allocations: 7.984 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.1429, allocations: 8 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001795/0.143, allocations: 187 kB / 487.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1431, allocations: 0 / 487.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002892/0.1433, allocations: 35.98 kB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.0024/0.1458, allocations: 1.171 MB / 488.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.146, allocations: 91.84 kB / 489 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.146, allocations: 0 / 489 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.864e-05/0.1461, allocations: 43.98 kB / 489.1 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.1465, allocations: 37.19 kB / 489.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.1488, allocations: 1.867 MB / 491 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.1492, allocations: 0.726 MB / 491.7 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.755e-05/0.1493, allocations: 16.64 kB / 491.7 MB, free: 9.316 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.911e-05/0.1493, allocations: 47.42 kB / 491.7 MB, free: 9.27 MB / 366.1 MB Notification: Performance of SimCode: time 3.436e-06/0.1494, allocations: 0 / 491.7 MB, free: 9.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0738/0.2232, allocations: 3.959 MB / 495.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.193, allocations: 7.969 kB / 495.7 MB, free: 5.387 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1)