Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001328/0.001328, allocations: 121.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001424/0.001424, allocations: 200.6 kB / 18.74 MB, free: 4.32 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.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.2243/0.2243, allocations: 46.12 MB / 344.4 MB, free: 11.48 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.00237/0.00237, allocations: 80.09 kB / 481 MB, free: 4.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3717, allocations: 62.45 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003139/0.3749, allocations: 1.734 MB / 0.5324 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.3766, allocations: 1.018 MB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.226e-05/0.3767, allocations: 7.938 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000279/0.3769, allocations: 41.39 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002873/0.3772, allocations: 89.72 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.3775, allocations: 76.31 kB / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.3777, allocations: 104.6 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.3778, allocations: 14.52 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.462e-05/0.3779, allocations: 39.88 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.872e-05/0.378, allocations: 41.66 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.378, allocations: 4.531 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.3782, allocations: 43.39 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.263e-05/0.3782, allocations: 17.17 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.672e-05/0.3783, allocations: 32.17 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.3785, allocations: 111.5 kB / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3786, allocations: 0 / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3786, allocations: 0 / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.3786, allocations: 0.75 kB / 0.534 GB, free: 10.84 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.0006744/0.3793, allocations: 426.5 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.3793, allocations: 9.188 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.618e-05/0.3794, allocations: 39.78 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.3794, allocations: 9.328 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.3797, allocations: 199.8 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.3798, allocations: 1.469 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.3798, allocations: 10.25 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.38, allocations: 50.48 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.38, allocations: 0 / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.38, allocations: 9.328 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.38, allocations: 4 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.611e-05/0.3801, allocations: 19.27 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.3806, allocations: 292.6 kB / 0.535 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.3808, allocations: 50.72 kB / 0.535 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.781e-05/0.3808, allocations: 25.56 kB / 0.5351 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.3809, allocations: 1.312 kB / 0.5351 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.381, allocations: 68.2 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.381, allocations: 0 / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005488/0.3816, allocations: 182.6 kB / 0.5353 GB, free: 9.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/0.3817, allocations: 51.41 kB / 0.5354 GB, free: 9.457 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.3818, allocations: 169 kB / 0.5355 GB, free: 9.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.3819, allocations: 30.77 kB / 0.5355 GB, free: 9.285 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.3819, allocations: 100.7 kB / 0.5356 GB, free: 9.188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.382, allocations: 24.42 kB / 0.5357 GB, free: 9.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.382, allocations: 23.2 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3822, allocations: 327 kB / 0.536 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.776e-05/0.3823, allocations: 15 kB / 0.536 GB, free: 8.816 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.657e-05/0.3823, allocations: 39.77 kB / 0.536 GB, free: 8.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.3825, allocations: 66.39 kB / 0.5361 GB, free: 8.738 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3825, allocations: 0 / 0.5361 GB, free: 8.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001899/0.3827, allocations: 108.2 kB / 0.5362 GB, free: 8.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.3827, allocations: 5.5 kB / 0.5362 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3827, allocations: 0 / 0.5362 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3827, allocations: 1.375 kB / 0.5362 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.708e-05/0.3828, allocations: 20.31 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.3828, allocations: 1.375 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.56e-05/0.3829, allocations: 14.7 kB / 0.5363 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.3829, allocations: 2.75 kB / 0.5363 GB, free: 8.648 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.934e-05/0.383, allocations: 120.7 kB / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.383, allocations: 9.453 kB / 0.5364 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.3831, allocations: 16.83 kB / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3831, allocations: 0 / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3831, allocations: 1.375 kB / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3831, allocations: 3.938 kB / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004373/0.3835, allocations: 389.3 kB / 0.5368 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3835, allocations: 0 / 0.5368 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.624e-05/0.3836, allocations: 11.69 kB / 0.5368 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.3836, allocations: 9.172 kB / 0.5368 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.3836, allocations: 1.062 kB / 0.5368 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3836, allocations: 5.062 kB / 0.5368 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.3836, allocations: 5.094 kB / 0.5368 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.3839, allocations: 203.6 kB / 0.537 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.337e-05/0.3839, allocations: 92.36 kB / 0.5371 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.384, allocations: 6.188 kB / 0.5371 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.935e-05/0.384, allocations: 5.266 kB / 0.5371 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.3841, allocations: 3.344 kB / 0.5371 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.3841, allocations: 12.22 kB / 0.5371 GB, free: 7.812 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.3842, allocations: 129.2 kB / 0.5372 GB, free: 7.715 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3842, allocations: 4 kB / 0.5372 GB, free: 7.711 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.3845, allocations: 24.22 kB / 0.5373 GB, free: 7.703 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.002073/0.3866, allocations: 1.093 MB / 0.5383 GB, free: 6.848 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.3868, allocations: 57.81 kB / 0.5384 GB, free: 6.824 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3868, allocations: 0 / 0.5384 GB, free: 6.824 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.767e-05/0.3868, allocations: 33.92 kB / 0.5384 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.3872, allocations: 32.92 kB / 0.5385 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.389, allocations: 1.596 MB / 0.54 GB, free: 5.367 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.3894, allocations: 0.7 MB / 0.5407 GB, free: 4.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.264e-05/0.3894, allocations: 21.42 kB / 0.5407 GB, free: 4.645 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.278e-05/0.3895, allocations: 35.36 kB / 0.5407 GB, free: 4.617 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3895, allocations: 0 / 0.5407 GB, free: 4.617 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.4132, allocations: 3.352 MB / 0.544 GB, free: 2.812 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.054/8.467, allocations: 8.516 kB / 0.544 GB, free: 2.809 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1)