Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001504/0.001504, allocations: 121.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001627/0.001627, allocations: 204.6 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2111/0.2111, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 76.09 kB / 480.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3464, allocations: 62.43 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003263/0.3497, allocations: 1.737 MB / 0.5323 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.352, allocations: 1.625 MB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.3521, allocations: 1.281 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.3524, allocations: 40.98 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002875/0.3527, allocations: 103 kB / 0.534 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.3529, allocations: 79.59 kB / 0.5341 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.353, allocations: 103.1 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.57e-05/0.3532, allocations: 9.594 kB / 0.5342 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.598e-05/0.3533, allocations: 50.42 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.3534, allocations: 50.33 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.3534, allocations: 4.719 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.3536, allocations: 103 kB / 0.5344 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.839e-05/0.3537, allocations: 20.14 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.487e-05/0.3538, allocations: 36.73 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.3541, allocations: 165.7 kB / 0.5346 GB, free: 10.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3541, allocations: 0 / 0.5346 GB, free: 10.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3541, allocations: 0 / 0.5346 GB, free: 10.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.3541, allocations: 4 kB / 0.5346 GB, free: 10.28 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006022/0.3547, allocations: 427 kB / 0.535 GB, free: 9.844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.3548, allocations: 9.625 kB / 0.535 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.762e-05/0.3548, allocations: 40.11 kB / 0.5351 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.3549, allocations: 8.969 kB / 0.5351 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.3552, allocations: 223 kB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.3552, allocations: 1.375 kB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.3552, allocations: 2.75 kB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.3554, allocations: 74.5 kB / 0.5354 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3554, allocations: 0 / 0.5354 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3554, allocations: 5.375 kB / 0.5354 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3554, allocations: 0 / 0.5354 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.223e-05/0.3555, allocations: 18.98 kB / 0.5354 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.3558, allocations: 289.4 kB / 0.5357 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.356, allocations: 57.94 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.099e-05/0.356, allocations: 21.09 kB / 0.5357 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.3561, allocations: 1.375 kB / 0.5357 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.3562, allocations: 73.08 kB / 0.5358 GB, free: 9.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.865e-06/0.3562, allocations: 0 / 0.5358 GB, free: 9.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005154/0.3568, allocations: 178.2 kB / 0.536 GB, free: 8.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.3568, allocations: 86.36 kB / 0.5361 GB, free: 8.824 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.357, allocations: 166.6 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.357, allocations: 27.08 kB / 0.5362 GB, free: 8.652 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.157e-05/0.3571, allocations: 104.2 kB / 0.5363 GB, free: 8.551 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.3571, allocations: 20.25 kB / 0.5364 GB, free: 8.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.3572, allocations: 24.8 kB / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3573, allocations: 325.1 kB / 0.5367 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.16e-05/0.3573, allocations: 19.03 kB / 0.5367 GB, free: 8.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.917e-05/0.3574, allocations: 40.94 kB / 0.5368 GB, free: 8.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.3575, allocations: 63.36 kB / 0.5368 GB, free: 8.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3575, allocations: 0 / 0.5368 GB, free: 8.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000195/0.3577, allocations: 95.77 kB / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.3578, allocations: 9.281 kB / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3578, allocations: 0 / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3578, allocations: 1.344 kB / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.898e-05/0.3579, allocations: 21.09 kB / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3579, allocations: 1.062 kB / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.092e-05/0.358, allocations: 10.27 kB / 0.5369 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.026e-06/0.358, allocations: 2.594 kB / 0.5369 GB, free: 8.023 MB / 398.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 9.663e-05/0.3581, allocations: 117.2 kB / 0.5371 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.3581, allocations: 12.56 kB / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.119e-05/0.3582, allocations: 20.42 kB / 0.5371 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3582, allocations: 5.406 kB / 0.5371 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3582, allocations: 0 / 0.5371 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3582, allocations: 1.375 kB / 0.5371 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004311/0.3586, allocations: 395.5 kB / 0.5375 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.3586, allocations: 5.25 kB / 0.5375 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.3587, allocations: 10.81 kB / 0.5375 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3587, allocations: 1.094 kB / 0.5375 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.3587, allocations: 10.2 kB / 0.5375 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3587, allocations: 1.594 kB / 0.5375 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.3587, allocations: 3.938 kB / 0.5375 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.359, allocations: 200.4 kB / 0.5377 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.359, allocations: 91.23 kB / 0.5378 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.3591, allocations: 6.188 kB / 0.5378 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-05/0.3591, allocations: 10.2 kB / 0.5378 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.3592, allocations: 7.438 kB / 0.5378 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.3592, allocations: 3.344 kB / 0.5378 GB, free: 7.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.3593, allocations: 127.9 kB / 0.5379 GB, free: 7.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3593, allocations: 3.938 kB / 0.5379 GB, free: 7.078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003101/0.3596, allocations: 46.58 kB / 0.538 GB, free: 7.062 MB / 398.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.001619/0.3613, allocations: 1.189 MB / 0.5391 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.3615, allocations: 57.88 kB / 0.5392 GB, free: 6.137 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.3615, allocations: 5.219 kB / 0.5392 GB, free: 6.133 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.225e-05/0.3616, allocations: 29.45 kB / 0.5392 GB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.3619, allocations: 24.86 kB / 0.5393 GB, free: 6.109 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.3637, allocations: 1.59 MB / 0.5408 GB, free: 4.688 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.3639, allocations: 0.7002 MB / 0.5415 GB, free: 3.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.8e-05/0.364, allocations: 31.41 kB / 0.5415 GB, free: 3.957 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.646e-05/0.3641, allocations: 37.31 kB / 0.5416 GB, free: 3.93 MB / 398.1 MB Notification: Performance of SimCode: time 1.593e-06/0.3641, allocations: 0 / 0.5416 GB, free: 3.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.3874, allocations: 4.054 MB / 0.5455 GB, free: 1.676 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.716/8.103, allocations: 14.92 kB / 0.5455 GB, free: 1.668 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1)