Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.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.001833/0.001833, allocations: 114 kB / 20.43 MB, free: 1.457 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.001856/0.001856, allocations: 214.9 kB / 23.74 MB, free: 4.672 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.472/1.472, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.2378/0.2378, allocations: 46.92 MB / 360.8 MB, free: 4.254 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.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003764/0.003764, allocations: 83.86 kB / 0.4963 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3703, allocations: 66.08 MB / 0.5608 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003569/0.3739, allocations: 2.05 MB / 0.5628 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.3759, allocations: 1.138 MB / 0.5639 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.376, allocations: 7.938 kB / 0.5639 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.3763, allocations: 43.69 kB / 0.564 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003423/0.3766, allocations: 111.4 kB / 0.5641 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.3769, allocations: 123.5 kB / 0.5642 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.3772, allocations: 203.3 kB / 0.5644 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.3773, allocations: 27.61 kB / 0.5644 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.3774, allocations: 79.7 kB / 0.5645 GB, free: 476 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.3776, allocations: 91.55 kB / 0.5646 GB, free: 384 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.067e-05/0.3776, allocations: 12 kB / 0.5646 GB, free: 372 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.3777, allocations: 51.98 kB / 0.5646 GB, free: 320 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.033e-05/0.3778, allocations: 35.84 kB / 0.5647 GB, free: 284 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.3779, allocations: 79.52 kB / 0.5647 GB, free: 204 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.3782, allocations: 195.1 kB / 0.5649 GB, free: 8 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3782, allocations: 0 / 0.5649 GB, free: 8 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3782, allocations: 0 / 0.5649 GB, free: 8 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.3782, allocations: 0 / 0.5649 GB, free: 8 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009683/0.3792, allocations: 0.5004 MB / 0.5654 GB, free: 15.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3792, allocations: 12.03 kB / 0.5654 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.437e-05/0.3792, allocations: 34.75 kB / 0.5654 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.664e-05/0.3793, allocations: 20.84 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.3797, allocations: 190.1 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.3797, allocations: 384 / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.929e-05/0.3797, allocations: 16.36 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004173/0.3801, allocations: 156.2 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3801, allocations: 0 / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.3801, allocations: 4 kB / 0.5658 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.3802, allocations: 7.984 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004361/0.3806, allocations: 111.9 kB / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007434/0.3813, allocations: 0.5233 MB / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006466/0.382, allocations: 154.5 kB / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.3822, allocations: 68.8 kB / 0.5667 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3822, allocations: 4 kB / 0.5667 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004181/0.3827, allocations: 143.3 kB / 0.5668 GB, free: 13.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.3827, allocations: 0 / 0.5668 GB, free: 13.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008971/0.3836, allocations: 257.3 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.3836, allocations: 51.41 kB / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.3839, allocations: 238.2 kB / 0.5673 GB, free: 13.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.3839, allocations: 33.7 kB / 0.5674 GB, free: 13.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.384, allocations: 128.4 kB / 0.5675 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.3841, allocations: 35.7 kB / 0.5675 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.3842, allocations: 37.7 kB / 0.5675 GB, free: 13.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3843, allocations: 334.8 kB / 0.5679 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.3846, allocations: 71.88 kB / 0.5679 GB, free: 12.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/0.3849, allocations: 107 kB / 0.568 GB, free: 12.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005064/0.3854, allocations: 192.8 kB / 0.5682 GB, free: 12.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.3854, allocations: 4 kB / 0.5682 GB, free: 12.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006418/0.386, allocations: 251 kB / 0.5685 GB, free: 12.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.559e-05/0.3861, allocations: 41.69 kB / 0.5685 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3861, allocations: 128 / 0.5685 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.3861, allocations: 8 kB / 0.5685 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.3863, allocations: 35.91 kB / 0.5685 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.3863, allocations: 3.938 kB / 0.5685 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.3865, allocations: 31.92 kB / 0.5686 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.3865, allocations: 4 kB / 0.5686 GB, free: 11.98 MB / 414.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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001421/0.3867, allocations: 139.1 kB / 0.5687 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.3867, allocations: 19.91 kB / 0.5687 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006349/0.3873, allocations: 214.8 kB / 0.5689 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.3873, allocations: 0 / 0.5689 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.3873, allocations: 3.938 kB / 0.5689 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3873, allocations: 3.984 kB / 0.5689 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.3876, allocations: 204.6 kB / 0.5691 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3876, allocations: 0 / 0.5691 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.3878, allocations: 27.97 kB / 0.5692 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3878, allocations: 0 / 0.5692 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.3878, allocations: 8 kB / 0.5692 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3878, allocations: 3.984 kB / 0.5692 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3878, allocations: 3.938 kB / 0.5692 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009031/0.3887, allocations: 305.3 kB / 0.5695 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.3887, allocations: 19.89 kB / 0.5695 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.3888, allocations: 8 kB / 0.5695 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.3889, allocations: 19.97 kB / 0.5695 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.549e-05/0.389, allocations: 19.91 kB / 0.5695 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.389, allocations: 8.062 kB / 0.5695 GB, free: 10.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001762/0.3892, allocations: 176.5 kB / 0.5697 GB, free: 10.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3892, allocations: 0 / 0.5697 GB, free: 10.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.3895, allocations: 35.94 kB / 0.5697 GB, free: 10.7 MB / 414.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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002692/0.3922, allocations: 1.144 MB / 0.5709 GB, free: 9.672 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006467/0.3928, allocations: 211.3 kB / 0.5711 GB, free: 9.453 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3928, allocations: 0 / 0.5711 GB, free: 9.453 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002585/0.3931, allocations: 75.81 kB / 0.5711 GB, free: 9.379 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.3934, allocations: 56.11 kB / 0.5712 GB, free: 9.328 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/0.3969, allocations: 2.182 MB / 0.5733 GB, free: 7.031 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.3973, allocations: 0.732 MB / 0.574 GB, free: 6.273 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.903e-05/0.3973, allocations: 21.47 kB / 0.5741 GB, free: 6.254 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.3975, allocations: 51.42 kB / 0.5741 GB, free: 6.203 MB / 414.1 MB Notification: Performance of SimCode: time 1.123e-06/0.3975, allocations: 0 / 0.5741 GB, free: 6.203 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03289/0.4304, allocations: 5.247 MB / 0.5792 GB, free: 1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.84, allocations: 8.062 kB / 0.5792 GB, free: 0.9922 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.794067644979805] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 12.00136758107692 12.01880696 11.63731092 Calling exit ...