Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001252/0.001252, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 247 MB, free: 10.45 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.2339/0.2339, allocations: 46.11 MB / 344.3 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.002296/0.002296, allocations: 79.88 kB / 481 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3474, allocations: 62.46 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.00365/0.3511, allocations: 1.935 MB / 0.5326 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.353, allocations: 1.059 MB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.3532, allocations: 1.375 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003533/0.3535, allocations: 49.27 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003116/0.3539, allocations: 98.97 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.3541, allocations: 93.66 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000236/0.3543, allocations: 153.3 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.3545, allocations: 21.92 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.3546, allocations: 56.34 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.3547, allocations: 57.08 kB / 0.5341 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.3547, allocations: 11.84 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.3549, allocations: 46.73 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.52e-05/0.3549, allocations: 22.05 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.818e-05/0.355, allocations: 60 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.3553, allocations: 152.9 kB / 0.5344 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3553, allocations: 0 / 0.5344 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3553, allocations: 0 / 0.5344 GB, free: 10.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.3553, allocations: 0 / 0.5344 GB, free: 10.48 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.0006983/0.356, allocations: 486.1 kB / 0.5348 GB, free: 9.992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3561, allocations: 12.88 kB / 0.5349 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.687e-05/0.3561, allocations: 40.89 kB / 0.5349 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.3562, allocations: 20.61 kB / 0.5349 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.3565, allocations: 244.4 kB / 0.5352 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.3566, allocations: 2.781 kB / 0.5352 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.3566, allocations: 13.66 kB / 0.5352 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.3568, allocations: 105.6 kB / 0.5353 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3569, allocations: 0 / 0.5353 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.3569, allocations: 1.125 kB / 0.5353 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3569, allocations: 2.281 kB / 0.5353 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.3571, allocations: 50.66 kB / 0.5353 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006789/0.3577, allocations: 0.511 MB / 0.5358 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.3581, allocations: 80.55 kB / 0.5359 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.3582, allocations: 40.33 kB / 0.5359 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.3582, allocations: 1.531 kB / 0.5359 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.3585, allocations: 89.5 kB / 0.536 GB, free: 8.879 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.3585, allocations: 0 / 0.536 GB, free: 8.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004121/0.3589, allocations: 150.5 kB / 0.5362 GB, free: 8.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.359, allocations: 52.78 kB / 0.5362 GB, free: 8.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.3592, allocations: 207.5 kB / 0.5364 GB, free: 8.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.3592, allocations: 27.08 kB / 0.5364 GB, free: 8.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.554e-05/0.3593, allocations: 122.9 kB / 0.5366 GB, free: 8.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.3593, allocations: 31.86 kB / 0.5366 GB, free: 8.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/0.3594, allocations: 25.97 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.3596, allocations: 326.6 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.193e-05/0.3597, allocations: 32.88 kB / 0.537 GB, free: 8.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.3598, allocations: 63.66 kB / 0.537 GB, free: 7.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.36, allocations: 101.9 kB / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.36, allocations: 0 / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002775/0.3603, allocations: 138.5 kB / 0.5372 GB, free: 7.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3603, allocations: 5.375 kB / 0.5372 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.3604, allocations: 0.9688 kB / 0.5372 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.3604, allocations: 6.031 kB / 0.5373 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.861e-05/0.3605, allocations: 22.33 kB / 0.5373 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3605, allocations: 2.25 kB / 0.5373 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.245e-05/0.3606, allocations: 21.23 kB / 0.5373 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.3606, allocations: 7.641 kB / 0.5373 GB, free: 7.789 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.00014/0.3607, allocations: 137.1 kB / 0.5374 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.3608, allocations: 15.78 kB / 0.5375 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.725e-05/0.3608, allocations: 17.64 kB / 0.5375 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3608, allocations: 5.344 kB / 0.5375 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3608, allocations: 1.188 kB / 0.5375 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3609, allocations: 0 / 0.5375 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.3611, allocations: 210 kB / 0.5377 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3611, allocations: 5.281 kB / 0.5377 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.78e-05/0.3612, allocations: 17.2 kB / 0.5377 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3612, allocations: 5.094 kB / 0.5377 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.3612, allocations: 1.562 kB / 0.5377 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3612, allocations: 3.938 kB / 0.5377 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3612, allocations: 0 / 0.5377 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.3616, allocations: 181.9 kB / 0.5379 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.984e-05/0.3617, allocations: 96.36 kB / 0.538 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.3618, allocations: 1.188 kB / 0.538 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.419e-05/0.3618, allocations: 16.5 kB / 0.538 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.3619, allocations: 7.516 kB / 0.538 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.3619, allocations: 2.094 kB / 0.538 GB, free: 7.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.362, allocations: 145.9 kB / 0.5381 GB, free: 7.016 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3621, allocations: 3.938 kB / 0.5381 GB, free: 7.012 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.3623, allocations: 28.28 kB / 0.5382 GB, free: 7.004 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.002116/0.3644, allocations: 1.015 MB / 0.5392 GB, free: 6.219 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002482/0.3647, allocations: 83.77 kB / 0.5392 GB, free: 6.184 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3647, allocations: 0 / 0.5392 GB, free: 6.184 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.979e-05/0.3648, allocations: 34.64 kB / 0.5393 GB, free: 6.172 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.3651, allocations: 45.03 kB / 0.5393 GB, free: 6.145 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.3674, allocations: 1.757 MB / 0.541 GB, free: 4.645 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.3677, allocations: 0.7116 MB / 0.5417 GB, free: 3.934 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.132e-05/0.3678, allocations: 19.98 kB / 0.5417 GB, free: 3.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.706e-05/0.3679, allocations: 48.47 kB / 0.5418 GB, free: 3.887 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3679, allocations: 0 / 0.5418 GB, free: 3.887 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02843/0.3963, allocations: 3.836 MB / 0.5455 GB, free: 1.859 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.137/8.534, allocations: 9.062 kB / 0.5455 GB, free: 1.852 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1)