Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.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.00132/0.00132, allocations: 109.3 kB / 19.8 MB, free: 2.5 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.001474/0.001474, allocations: 219.7 kB / 23 MB, free: 5.578 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.477/1.477, allocations: 230.2 MB / 256.2 MB, free: 8.531 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.223/0.223, allocations: 46.88 MB / 359.4 MB, free: 4.891 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002306/0.002306, allocations: 71.88 kB / 0.4942 GB, free: 8.965 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3312, allocations: 65.99 MB / 0.5586 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.005135/0.3363, allocations: 1.668 MB / 0.5602 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.3383, allocations: 0.5693 MB / 0.5608 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.793e-05/0.3384, allocations: 4 kB / 0.5608 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.3388, allocations: 31.77 kB / 0.5608 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004907/0.3392, allocations: 91.59 kB / 0.5609 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005872/0.3398, allocations: 115.7 kB / 0.561 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.3401, allocations: 79.83 kB / 0.5611 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.3403, allocations: 21.81 kB / 0.5611 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.3404, allocations: 43.78 kB / 0.5612 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.3405, allocations: 35.84 kB / 0.5612 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.3406, allocations: 8 kB / 0.5612 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.3407, allocations: 51.97 kB / 0.5612 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.278e-05/0.3408, allocations: 19.92 kB / 0.5613 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.221e-05/0.3409, allocations: 39.73 kB / 0.5613 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003423/0.3413, allocations: 115.4 kB / 0.5614 GB, free: 2.254 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/0.3413, allocations: 4 kB / 0.5614 GB, free: 2.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3413, allocations: 0 / 0.5614 GB, free: 2.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3413, allocations: 0 / 0.5614 GB, free: 2.25 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008063/0.3421, allocations: 413.2 kB / 0.5618 GB, free: 1.797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.3421, allocations: 12.03 kB / 0.5618 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.601e-05/0.3422, allocations: 38.75 kB / 0.5619 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.523e-05/0.3423, allocations: 12.84 kB / 0.5619 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.3426, allocations: 196.2 kB / 0.5621 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.3426, allocations: 4.375 kB / 0.5621 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.3426, allocations: 12.31 kB / 0.5621 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.3429, allocations: 74.22 kB / 0.5621 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.343, allocations: 7.938 kB / 0.5622 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.343, allocations: 0 / 0.5622 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.343, allocations: 0 / 0.5622 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002124/0.3432, allocations: 47.95 kB / 0.5622 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007946/0.344, allocations: 332.7 kB / 0.5625 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.3442, allocations: 66.48 kB / 0.5626 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.3443, allocations: 24.78 kB / 0.5626 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.365e-05/0.3444, allocations: 8.141 kB / 0.5626 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.307e-05/0.3444, allocations: 38.56 kB / 0.5627 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/0.3444, allocations: 0 / 0.5627 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001896/0.3463, allocations: 333.5 kB / 0.563 GB, free: 496 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.3464, allocations: 59.34 kB / 0.563 GB, free: 424 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.3467, allocations: 161.2 kB / 0.5632 GB, free: 256 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.3467, allocations: 29.7 kB / 0.5632 GB, free: 220 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.3468, allocations: 100.1 kB / 0.5633 GB, free: 116 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.071e-05/0.3469, allocations: 47.56 kB / 0.5633 GB, free: 68 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.7e-05/0.347, allocations: 29.7 kB / 0.5634 GB, free: 32 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002493/0.3473, allocations: 322.8 kB / 0.5637 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.3475, allocations: 47.97 kB / 0.5637 GB, free: 15.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.3477, allocations: 47.22 kB / 0.5638 GB, free: 15.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004207/0.3481, allocations: 112.9 kB / 0.5639 GB, free: 15.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3481, allocations: 0 / 0.5639 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005566/0.3486, allocations: 149.5 kB / 0.564 GB, free: 15.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.3487, allocations: 8 kB / 0.564 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3487, allocations: 7.938 kB / 0.564 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.3487, allocations: 0 / 0.564 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.3489, allocations: 31.97 kB / 0.5641 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.3489, allocations: 240 / 0.5641 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.34e-05/0.349, allocations: 7.984 kB / 0.5641 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.349, allocations: 4 kB / 0.5641 GB, free: 15.29 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001745/0.3492, allocations: 129.8 kB / 0.5642 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.57e-05/0.3493, allocations: 7.953 kB / 0.5642 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00069/0.35, allocations: 190.4 kB / 0.5644 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.35, allocations: 4 kB / 0.5644 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.35, allocations: 3.938 kB / 0.5644 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.35, allocations: 0 / 0.5644 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.3512, allocations: 499 kB / 0.5649 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3512, allocations: 0 / 0.5649 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.3514, allocations: 32.02 kB / 0.5649 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.3514, allocations: 0 / 0.5649 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.3514, allocations: 4 kB / 0.5649 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3514, allocations: 0 / 0.5649 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3514, allocations: 0 / 0.5649 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006349/0.352, allocations: 267.6 kB / 0.5652 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.521e-05/0.3521, allocations: 81.06 kB / 0.5652 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/0.3521, allocations: 12 kB / 0.5653 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.3523, allocations: 7.984 kB / 0.5653 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.545e-05/0.3523, allocations: 7.938 kB / 0.5653 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.3524, allocations: 4 kB / 0.5653 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001607/0.3525, allocations: 134.8 kB / 0.5654 GB, free: 13.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3525, allocations: 3.938 kB / 0.5654 GB, free: 13.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004944/0.353, allocations: 31.92 kB / 0.5654 GB, free: 13.8 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.003312/0.3563, allocations: 1.121 MB / 0.5665 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004863/0.3568, allocations: 111.9 kB / 0.5666 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3568, allocations: 0 / 0.5666 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002303/0.3571, allocations: 59.84 kB / 0.5667 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005797/0.3576, allocations: 23.98 kB / 0.5667 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.3613, allocations: 1.753 MB / 0.5684 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005089/0.3618, allocations: 0.708 MB / 0.5691 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001632/0.3619, allocations: 32.53 kB / 0.5692 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.362, allocations: 39.42 kB / 0.5692 GB, free: 9.98 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3621, allocations: 0 / 0.5692 GB, free: 9.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03318/0.3952, allocations: 3.292 MB / 0.5724 GB, free: 6.707 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.198/8.594, allocations: 3.859 kB / 0.5724 GB, free: 6.703 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.414352402993245] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd_t_new2.y', 'clock.y', 'd2_t_new.y', 'd2_t_new2.y'] 8.71881007499178 8.745433043 8.398955424 Calling exit ...