Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00135/0.00135, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001541/0.001541, allocations: 208 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 230.5 MB / 258.2 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2292/0.2292, allocations: 46.93 MB / 361.6 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 180] 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.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 75.88 kB / 0.497 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3143, allocations: 66.08 MB / 0.5616 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003264/0.3176, allocations: 1.834 MB / 0.5633 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002723/0.3203, allocations: 1.809 MB / 0.5651 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.653e-05/0.3204, allocations: 7.938 kB / 0.5651 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.3207, allocations: 51.69 kB / 0.5652 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003863/0.3211, allocations: 139.3 kB / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.3213, allocations: 107.7 kB / 0.5654 GB, free: 332 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.3216, allocations: 207.3 kB / 0.5656 GB, free: 124 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.3216, allocations: 5.812 kB / 0.5656 GB, free: 116 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.3218, allocations: 99.55 kB / 0.5657 GB, free: 16 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.322, allocations: 75.62 kB / 0.5658 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.3221, allocations: 16 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002033/0.3223, allocations: 115.9 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.853e-05/0.3224, allocations: 43.83 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.901e-05/0.3224, allocations: 59.55 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003633/0.3228, allocations: 229.1 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3228, allocations: 3.938 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3228, allocations: 0 / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3228, allocations: 0 / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007418/0.3236, allocations: 436.9 kB / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3236, allocations: 12.03 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.556e-05/0.3236, allocations: 192 / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.755e-05/0.3236, allocations: 34.75 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.6e-05/0.3237, allocations: 20.78 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.3241, allocations: 198.2 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.3241, allocations: 384 / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.3241, allocations: 8.375 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.3243, allocations: 109 kB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3243, allocations: 0 / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3243, allocations: 0 / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3243, allocations: 0 / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.3244, allocations: 31.98 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.3247, allocations: 193.5 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.3249, allocations: 101.2 kB / 0.5673 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.907e-05/0.325, allocations: 41.62 kB / 0.5674 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.325, allocations: 7.938 kB / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/0.3253, allocations: 109 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.3253, allocations: 0 / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004392/0.3257, allocations: 169.4 kB / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.681e-05/0.3258, allocations: 128.5 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.3261, allocations: 238.3 kB / 0.568 GB, free: 13.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.3261, allocations: 29.7 kB / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.96e-05/0.3262, allocations: 124.1 kB / 0.5681 GB, free: 13.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.255e-05/0.3262, allocations: 27.75 kB / 0.5681 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/0.3263, allocations: 33.7 kB / 0.5682 GB, free: 13.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.3265, allocations: 326.8 kB / 0.5685 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.597e-05/0.3266, allocations: 27.98 kB / 0.5685 GB, free: 12.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.3267, allocations: 84.44 kB / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.3269, allocations: 87.36 kB / 0.5687 GB, free: 12.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3269, allocations: 0 / 0.5687 GB, free: 12.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002745/0.3271, allocations: 137.9 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.3272, allocations: 10.44 kB / 0.5688 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.3272, allocations: 4.125 kB / 0.5688 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3272, allocations: 0 / 0.5688 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.3273, allocations: 23.98 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3273, allocations: 11.88 kB / 0.5689 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.728e-05/0.3274, allocations: 11.95 kB / 0.5689 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.3274, allocations: 4 kB / 0.5689 GB, free: 12.49 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001227/0.3275, allocations: 135.1 kB / 0.569 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.3276, allocations: 23.84 kB / 0.569 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003339/0.3279, allocations: 146.7 kB / 0.5692 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3279, allocations: 0 / 0.5692 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3279, allocations: 4 kB / 0.5692 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.3279, allocations: 3.984 kB / 0.5692 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.3281, allocations: 200.5 kB / 0.5694 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3281, allocations: 4 kB / 0.5694 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.068e-05/0.3282, allocations: 4 kB / 0.5694 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.3282, allocations: 7.984 kB / 0.5694 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.3282, allocations: 7.984 kB / 0.5694 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3282, allocations: 7.938 kB / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3282, allocations: 3.938 kB / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.3285, allocations: 169.7 kB / 0.5696 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.889e-05/0.3285, allocations: 15.91 kB / 0.5696 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.3286, allocations: 7.984 kB / 0.5696 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.905e-05/0.3286, allocations: 4 kB / 0.5696 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.3287, allocations: 11.98 kB / 0.5696 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.3287, allocations: 8 kB / 0.5696 GB, free: 11.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001919/0.3289, allocations: 176.5 kB / 0.5698 GB, free: 11.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3289, allocations: 0 / 0.5698 GB, free: 11.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.3292, allocations: 55.86 kB / 0.5698 GB, free: 11.43 MB / 414.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002211/0.3314, allocations: 1.113 MB / 0.5709 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002519/0.3316, allocations: 71.91 kB / 0.571 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3316, allocations: 0 / 0.571 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.3317, allocations: 35.92 kB / 0.571 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.3321, allocations: 55.3 kB / 0.5711 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.3344, allocations: 1.889 MB / 0.5729 GB, free: 8.297 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.3347, allocations: 0.7242 MB / 0.5736 GB, free: 7.547 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.494e-05/0.3348, allocations: 34.11 kB / 0.5737 GB, free: 7.512 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.3349, allocations: 55.41 kB / 0.5737 GB, free: 7.457 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3349, allocations: 4 kB / 0.5737 GB, free: 7.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/0.3631, allocations: 5.53 MB / 0.5791 GB, free: 1.949 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.12, allocations: 15.08 kB / 0.5791 GB, free: 1.938 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.961776657029986] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 11.326352368982043 11.340444535 11.014762579 Calling exit ...