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.001458/0.001459, allocations: 105.9 kB / 17.32 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001884/0.001884, allocations: 209.8 kB / 18.26 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2121/0.2121, allocations: 46.09 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 78 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09763/0.09903, allocations: 62.45 MB / 479.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.002814/0.1019, allocations: 1.781 MB / 481.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.1039, allocations: 1.596 MB / 483 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.154e-05/0.104, allocations: 0 / 483 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.1042, allocations: 39.83 kB / 483 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002574/0.1045, allocations: 83.73 kB / 483.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.1047, allocations: 67.81 kB / 483.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.1049, allocations: 107.7 kB / 483.3 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.834e-05/0.1049, allocations: 11.98 kB / 483.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.988e-05/0.105, allocations: 43.8 kB / 483.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.1052, allocations: 51.7 kB / 483.4 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.1052, allocations: 4 kB / 483.4 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.1054, allocations: 107.9 kB / 483.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.621e-05/0.1054, allocations: 19.86 kB / 483.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.933e-05/0.1055, allocations: 35.8 kB / 483.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.1057, allocations: 167.8 kB / 483.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1057, allocations: 0 / 483.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1058, allocations: 0 / 483.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1058, allocations: 0 / 483.7 MB, free: 1.391 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000529/0.1063, allocations: 435 kB / 484.1 MB, free: 0.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.1063, allocations: 8.031 kB / 484.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.762e-05/0.1064, allocations: 38.69 kB / 484.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.1064, allocations: 8.844 kB / 484.2 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.1066, allocations: 212.4 kB / 484.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1067, allocations: 4 kB / 484.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.1067, allocations: 0 / 484.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.1069, allocations: 79.38 kB / 484.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.1069, allocations: 0 / 484.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1069, allocations: 0 / 484.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1069, allocations: 4 kB / 484.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.235e-05/0.107, allocations: 19.92 kB / 484.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.1073, allocations: 284.9 kB / 484.8 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.1075, allocations: 58.67 kB / 484.8 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.159e-05/0.1076, allocations: 16.86 kB / 484.9 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.1076, allocations: 7.984 kB / 484.9 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.1078, allocations: 71.39 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 3.307e-06/0.1078, allocations: 3.984 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000527/0.1083, allocations: 173.2 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.1084, allocations: 93.03 kB / 485.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.1085, allocations: 158.5 kB / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1086, allocations: 29.7 kB / 485.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.1086, allocations: 92.14 kB / 485.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.1087, allocations: 27.64 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.1087, allocations: 21.72 kB / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1088, allocations: 330.8 kB / 485.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.431e-05/0.1089, allocations: 19.98 kB / 485.9 MB, free: 15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.515e-05/0.109, allocations: 42.56 kB / 485.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.1091, allocations: 61.64 kB / 486 MB, free: 14.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1091, allocations: 0 / 486 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001729/0.1093, allocations: 105.5 kB / 486.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.1093, allocations: 6.969 kB / 486.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1093, allocations: 4.062 kB / 486.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1093, allocations: 4 kB / 486.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.1094, allocations: 23.92 kB / 486.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1094, allocations: 0 / 486.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.067e-05/0.1095, allocations: 4.188 kB / 486.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1095, allocations: 0 / 486.1 MB, free: 14.73 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 (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.954e-05/0.1096, allocations: 125.8 kB / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.1096, allocations: 15.8 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.1097, allocations: 13.09 kB / 486.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1097, allocations: 11.94 kB / 486.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1097, allocations: 0 / 486.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1097, allocations: 0 / 486.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004219/0.1101, allocations: 395.3 kB / 486.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.1101, allocations: 3.938 kB / 486.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.58e-05/0.1102, allocations: 15.92 kB / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1102, allocations: 0 / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1102, allocations: 4 kB / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1102, allocations: 4.031 kB / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1102, allocations: 0 / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.1104, allocations: 196.3 kB / 486.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.1105, allocations: 92.94 kB / 487 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.1105, allocations: 4 kB / 487 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.691e-05/0.1106, allocations: 4 kB / 487 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.1107, allocations: 11.98 kB / 487 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.1107, allocations: 4 kB / 487 MB, free: 13.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.1108, allocations: 130.2 kB / 487.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1108, allocations: 0 / 487.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002997/0.1111, allocations: 55.92 kB / 487.2 MB, free: 13.56 MB / 366.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.001627/0.1127, allocations: 1.173 MB / 488.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.1129, allocations: 59.91 kB / 488.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.113, allocations: 0 / 488.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.072e-05/0.113, allocations: 35.94 kB / 488.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.1134, allocations: 31.91 kB / 488.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.1149, allocations: 1.597 MB / 490.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.1152, allocations: 0.6973 MB / 490.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.536e-05/0.1153, allocations: 21.17 kB / 490.8 MB, free: 9.996 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.255e-05/0.1154, allocations: 31.42 kB / 490.8 MB, free: 9.965 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1154, allocations: 4 kB / 490.8 MB, free: 9.961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01478/0.1301, allocations: 3.856 MB / 494.7 MB, free: 6.219 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/0.1303, allocations: 251.9 kB / 494.9 MB, free: 5.957 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/1.926, allocations: 0 / 494.9 MB, free: 5.957 MB / 366.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)