Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.00131/0.00131, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.0014/0.0014, allocations: 220.2 kB / 24.53 MB, free: 4.008 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.38/1.38, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2193/0.2193, allocations: 46.92 MB / 361.6 MB, free: 4.184 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.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 79.88 kB / 0.497 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3517, allocations: 66.08 MB / 0.5616 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003221/0.3549, allocations: 1.704 MB / 0.5632 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.3566, allocations: 1.025 MB / 0.5642 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.45e-05/0.3567, allocations: 0 / 0.5642 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.357, allocations: 67.73 kB / 0.5643 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.3573, allocations: 103.6 kB / 0.5644 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.3575, allocations: 83.66 kB / 0.5645 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.3577, allocations: 103.7 kB / 0.5646 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.078e-05/0.3577, allocations: 240 / 0.5646 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.3578, allocations: 59.7 kB / 0.5646 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.3579, allocations: 55.75 kB / 0.5647 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.3579, allocations: 4 kB / 0.5647 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.573e-05/0.358, allocations: 24 kB / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.551e-05/0.3581, allocations: 19.92 kB / 0.5647 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.3581, allocations: 31.8 kB / 0.5648 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.3583, allocations: 113.3 kB / 0.5649 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.3583, allocations: 3.938 kB / 0.5649 GB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3583, allocations: 0 / 0.5649 GB, free: 0.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3583, allocations: 0 / 0.5649 GB, free: 0.875 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005229/0.3588, allocations: 337.6 kB / 0.5652 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.3589, allocations: 12.03 kB / 0.5652 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.182e-05/0.3589, allocations: 192 / 0.5652 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.106e-05/0.3589, allocations: 30.75 kB / 0.5652 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.359, allocations: 12.84 kB / 0.5652 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.3592, allocations: 159 kB / 0.5654 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.3593, allocations: 8.359 kB / 0.5654 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.3593, allocations: 384 / 0.5654 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.3594, allocations: 49.56 kB / 0.5654 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.3594, allocations: 4 kB / 0.5654 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.3594, allocations: 0 / 0.5654 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3594, allocations: 3.984 kB / 0.5655 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.705e-05/0.3595, allocations: 12 kB / 0.5655 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002267/0.3597, allocations: 156.7 kB / 0.5656 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.3599, allocations: 54.61 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.198e-05/0.3599, allocations: 16.84 kB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.36, allocations: 3.938 kB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.3601, allocations: 71.33 kB / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.3601, allocations: 0 / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002845/0.3604, allocations: 101.5 kB / 0.5659 GB, free: 15.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.3605, allocations: 51.41 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.3607, allocations: 202.3 kB / 0.5661 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.3607, allocations: 25.7 kB / 0.5661 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.301e-05/0.3608, allocations: 100.1 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.3608, allocations: 23.78 kB / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.3608, allocations: 21.72 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.361, allocations: 322.8 kB / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.21e-05/0.361, allocations: 15.98 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-05/0.3611, allocations: 29.69 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.982e-05/0.3612, allocations: 41.72 kB / 0.5666 GB, free: 14.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3612, allocations: 256 / 0.5666 GB, free: 14.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001655/0.3614, allocations: 101.5 kB / 0.5667 GB, free: 14.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3614, allocations: 8 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3614, allocations: 0 / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3614, allocations: 0 / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.182e-05/0.3615, allocations: 8 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3615, allocations: 0 / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.156e-05/0.3615, allocations: 7.984 kB / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3615, allocations: 4.156 kB / 0.5668 GB, free: 14.71 MB / 414.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 (7): * Single equations (assignments): 7 * 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.0001061/0.3616, allocations: 123.1 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.3617, allocations: 15.92 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.3619, allocations: 94.73 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.3619, allocations: 0 / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3619, allocations: 0 / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.3619, allocations: 0 / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.362, allocations: 160.6 kB / 0.5671 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.3621, allocations: 4 kB / 0.5672 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.146e-05/0.3621, allocations: 7.984 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3621, allocations: 4 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.3621, allocations: 0 / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3621, allocations: 4 kB / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3621, allocations: 0 / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.3623, allocations: 113 kB / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.179e-05/0.3623, allocations: 11.94 kB / 0.5673 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.3623, allocations: 4 kB / 0.5673 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.555e-05/0.3624, allocations: 8.125 kB / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.3624, allocations: 3.984 kB / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.3624, allocations: 12 kB / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.3625, allocations: 148.2 kB / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3625, allocations: 0 / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002096/0.3628, allocations: 19.94 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.00188/0.3646, allocations: 0.9425 MB / 0.5684 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001484/0.3648, allocations: 35.98 kB / 0.5684 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3648, allocations: 0 / 0.5684 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.499e-05/0.3648, allocations: 24.05 kB / 0.5685 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.3651, allocations: 35.55 kB / 0.5685 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.3668, allocations: 1.51 MB / 0.57 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.3672, allocations: 0.7079 MB / 0.5707 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.489e-05/0.3672, allocations: 8.5 kB / 0.5707 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.589e-05/0.3673, allocations: 31.42 kB / 0.5707 GB, free: 10.62 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3673, allocations: 0 / 0.5707 GB, free: 10.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.3899, allocations: 3.332 MB / 0.5739 GB, free: 7.332 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.93, allocations: 8.953 kB / 0.574 GB, free: 7.328 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.77569450502051] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.1432986939908 11.165236464 10.802731854 Calling exit ...