Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001338/0.001338, allocations: 118.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001351/0.001351, allocations: 197.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 247 MB, free: 10.43 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.2558/0.2558, allocations: 46.12 MB / 344.4 MB, free: 11.45 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.002168/0.002168, allocations: 91.78 kB / 481 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3348, allocations: 62.44 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003514/0.3383, allocations: 1.938 MB / 0.5326 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.3401, allocations: 1.055 MB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.3403, allocations: 9.719 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.3406, allocations: 48.66 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.341, allocations: 99.02 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.3412, allocations: 89.8 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.3415, allocations: 153.2 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.3416, allocations: 29.92 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.3418, allocations: 57.72 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.3419, allocations: 48.08 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.3419, allocations: 10.81 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.342, allocations: 47.61 kB / 0.5342 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.192e-05/0.3421, allocations: 22.8 kB / 0.5342 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.034e-05/0.3422, allocations: 58.59 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002936/0.3425, allocations: 152.5 kB / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3425, allocations: 5.375 kB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3425, allocations: 0 / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.3425, allocations: 0 / 0.5344 GB, free: 10.46 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008165/0.3433, allocations: 489.5 kB / 0.5349 GB, free: 9.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3434, allocations: 9.625 kB / 0.5349 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.537e-05/0.3434, allocations: 37.5 kB / 0.5349 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.3435, allocations: 19.7 kB / 0.5349 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.3439, allocations: 243.6 kB / 0.5352 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.3439, allocations: 4.5 kB / 0.5352 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.344, allocations: 12.06 kB / 0.5352 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.3443, allocations: 106.4 kB / 0.5353 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3443, allocations: 0 / 0.5353 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.3443, allocations: 5.375 kB / 0.5353 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3443, allocations: 1.375 kB / 0.5353 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.3445, allocations: 51.22 kB / 0.5353 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007521/0.3452, allocations: 0.5035 MB / 0.5358 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.3456, allocations: 91.62 kB / 0.5359 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.3458, allocations: 40.62 kB / 0.5359 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.3458, allocations: 5.234 kB / 0.5359 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.346, allocations: 77.03 kB / 0.536 GB, free: 8.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 5.27e-06/0.3461, allocations: 3.984 kB / 0.536 GB, free: 8.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004482/0.3465, allocations: 151.7 kB / 0.5362 GB, free: 8.781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.3466, allocations: 52.5 kB / 0.5362 GB, free: 8.719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.3468, allocations: 203.3 kB / 0.5364 GB, free: 8.566 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.3469, allocations: 30.92 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.347, allocations: 114.9 kB / 0.5366 GB, free: 8.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.347, allocations: 36.23 kB / 0.5366 GB, free: 8.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-05/0.3471, allocations: 31.14 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.3473, allocations: 330.5 kB / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.799e-05/0.3474, allocations: 28.02 kB / 0.537 GB, free: 8.023 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.3475, allocations: 63.8 kB / 0.537 GB, free: 7.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.3477, allocations: 102 kB / 0.5371 GB, free: 7.887 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3477, allocations: 0 / 0.5371 GB, free: 7.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002861/0.348, allocations: 130 kB / 0.5372 GB, free: 7.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.3481, allocations: 6.562 kB / 0.5372 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.3481, allocations: 5.641 kB / 0.5373 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.3481, allocations: 9.594 kB / 0.5373 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.3482, allocations: 26.03 kB / 0.5373 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.3482, allocations: 5.328 kB / 0.5373 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.118e-05/0.3483, allocations: 12.89 kB / 0.5373 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.3483, allocations: 5.5 kB / 0.5373 GB, free: 7.781 MB / 398.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.0001351/0.3485, allocations: 123.9 kB / 0.5374 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.3485, allocations: 18.7 kB / 0.5374 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.566e-05/0.3486, allocations: 19.22 kB / 0.5375 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3486, allocations: 5.188 kB / 0.5375 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3486, allocations: 4 kB / 0.5375 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.3486, allocations: 0 / 0.5375 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.3489, allocations: 218.6 kB / 0.5377 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.3489, allocations: 5 kB / 0.5377 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.425e-05/0.349, allocations: 9.094 kB / 0.5377 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.349, allocations: 1 kB / 0.5377 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.349, allocations: 0.9688 kB / 0.5377 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/0.349, allocations: 5.125 kB / 0.5377 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.349, allocations: 96 / 0.5377 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004432/0.3494, allocations: 188.9 kB / 0.5379 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.749e-05/0.3495, allocations: 88.73 kB / 0.538 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.3496, allocations: 5.188 kB / 0.538 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.148e-05/0.3496, allocations: 11.92 kB / 0.538 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.3497, allocations: 4.125 kB / 0.538 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.3497, allocations: 10.42 kB / 0.538 GB, free: 7.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001828/0.3499, allocations: 146.5 kB / 0.5381 GB, free: 7.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3499, allocations: 3.938 kB / 0.5381 GB, free: 7.016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.3502, allocations: 27.34 kB / 0.5382 GB, free: 7.008 MB / 398.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.002198/0.3524, allocations: 1.012 MB / 0.5392 GB, free: 6.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002737/0.3527, allocations: 82.31 kB / 0.5392 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.3527, allocations: 1.125 kB / 0.5392 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.3528, allocations: 37.39 kB / 0.5393 GB, free: 6.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.3531, allocations: 41.06 kB / 0.5393 GB, free: 6.156 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.3556, allocations: 1.758 MB / 0.541 GB, free: 4.656 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.356, allocations: 0.7163 MB / 0.5417 GB, free: 3.941 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.3561, allocations: 22.52 kB / 0.5417 GB, free: 3.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.314e-05/0.3562, allocations: 49.14 kB / 0.5418 GB, free: 3.891 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3562, allocations: 0 / 0.5418 GB, free: 3.891 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.3843, allocations: 3.83 MB / 0.5455 GB, free: 1.863 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.485, allocations: 8.906 kB / 0.5455 GB, free: 1.855 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1)