Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.001655/0.001655, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001997/0.001997, allocations: 208.7 kB / 24.51 MB, free: 3.941 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.423/1.423, allocations: 230.5 MB / 258.2 MB, free: 7.812 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.2163/0.2163, allocations: 46.95 MB / 361.6 MB, free: 3.93 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.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 83.86 kB / 0.497 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3144, allocations: 66.08 MB / 0.5615 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002932/0.3173, allocations: 1.673 MB / 0.5631 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.3189, allocations: 0.9476 MB / 0.5641 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.333e-05/0.319, allocations: 0 / 0.5641 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.3193, allocations: 87.69 kB / 0.5641 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003173/0.3196, allocations: 111.6 kB / 0.5642 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.3198, allocations: 75.67 kB / 0.5643 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.32, allocations: 111.7 kB / 0.5644 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.297e-05/0.32, allocations: 8.219 kB / 0.5644 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.742e-05/0.3201, allocations: 59.77 kB / 0.5645 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.3202, allocations: 59.75 kB / 0.5645 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.3202, allocations: 4 kB / 0.5646 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.883e-05/0.3203, allocations: 31.98 kB / 0.5646 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.209e-05/0.3204, allocations: 27.86 kB / 0.5646 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.621e-05/0.3204, allocations: 23.81 kB / 0.5646 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.3206, allocations: 113.3 kB / 0.5647 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.3206, allocations: 4 kB / 0.5647 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3206, allocations: 0 / 0.5647 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3206, allocations: 0 / 0.5647 GB, free: 0.6484 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.0005257/0.3212, allocations: 349.5 kB / 0.5651 GB, free: 284 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.3212, allocations: 8.031 kB / 0.5651 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.258e-05/0.3212, allocations: 4.188 kB / 0.5651 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.9e-05/0.3212, allocations: 34.69 kB / 0.5651 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.3213, allocations: 16.84 kB / 0.5651 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.3215, allocations: 154.3 kB / 0.5653 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3215, allocations: 384 / 0.5653 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.3215, allocations: 384 / 0.5653 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.3217, allocations: 57.61 kB / 0.5653 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3217, allocations: 4 kB / 0.5653 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.3217, allocations: 0 / 0.5653 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.3217, allocations: 0 / 0.5653 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.249e-05/0.3218, allocations: 23.92 kB / 0.5654 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.322, allocations: 152.8 kB / 0.5655 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.3221, allocations: 46.62 kB / 0.5656 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.578e-05/0.3222, allocations: 20.84 kB / 0.5656 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.3222, allocations: 3.938 kB / 0.5656 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.3224, allocations: 71.33 kB / 0.5656 GB, free: 15.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3224, allocations: 4 kB / 0.5657 GB, free: 15.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002778/0.3226, allocations: 101.8 kB / 0.5657 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.3227, allocations: 55.41 kB / 0.5658 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.3229, allocations: 223.5 kB / 0.566 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.3229, allocations: 29.7 kB / 0.566 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.323, allocations: 104.1 kB / 0.5661 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.323, allocations: 15.89 kB / 0.5662 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.3231, allocations: 21.66 kB / 0.5662 GB, free: 14.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3232, allocations: 322.8 kB / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.021e-05/0.3232, allocations: 16.05 kB / 0.5665 GB, free: 14.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.388e-05/0.3233, allocations: 49.62 kB / 0.5665 GB, free: 14.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.955e-05/0.3234, allocations: 45.7 kB / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3234, allocations: 0 / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001696/0.3236, allocations: 89.47 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.3236, allocations: 4 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3236, allocations: 0 / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.3236, allocations: 0 / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.415e-05/0.3237, allocations: 15.98 kB / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3237, allocations: 4.031 kB / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.256e-05/0.3237, allocations: 0 / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.3237, allocations: 11.94 kB / 0.5667 GB, free: 14.41 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 9.747e-05/0.3238, allocations: 129.8 kB / 0.5668 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.3239, allocations: 15.84 kB / 0.5669 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.3241, allocations: 102.7 kB / 0.5669 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3241, allocations: 0 / 0.5669 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.3241, allocations: 4 kB / 0.567 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.3241, allocations: 3.984 kB / 0.567 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.3242, allocations: 156.7 kB / 0.5671 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3242, allocations: 7.984 kB / 0.5671 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.623e-05/0.3243, allocations: 4 kB / 0.5671 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3243, allocations: 0 / 0.5671 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.3243, allocations: 0 / 0.5671 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3243, allocations: 128 / 0.5671 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3243, allocations: 4 kB / 0.5671 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.3245, allocations: 128.9 kB / 0.5672 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.36e-05/0.3245, allocations: 19.91 kB / 0.5673 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.3245, allocations: 0 / 0.5673 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.244e-05/0.3245, allocations: 7.984 kB / 0.5673 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.3246, allocations: 4 kB / 0.5673 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.3246, allocations: 4 kB / 0.5673 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.3248, allocations: 173.1 kB / 0.5674 GB, free: 13.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3248, allocations: 0 / 0.5674 GB, free: 13.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002089/0.325, allocations: 23.94 kB / 0.5675 GB, free: 13.56 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 (6): * Single equations (assignments): 4 * 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.001945/0.3269, allocations: 0.9793 MB / 0.5684 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.3271, allocations: 39.97 kB / 0.5685 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.3271, allocations: 0 / 0.5685 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.407e-05/0.3271, allocations: 27.98 kB / 0.5685 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.3274, allocations: 31.67 kB / 0.5685 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.3291, allocations: 1.573 MB / 0.5701 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.629e-05/0.3292, allocations: 100.1 kB / 0.5701 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.304e-05/0.3292, allocations: 12.48 kB / 0.5702 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.3293, allocations: 39.42 kB / 0.5702 GB, free: 10.79 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3293, allocations: 0 / 0.5702 GB, free: 10.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02213/0.3514, allocations: 3.608 MB / 0.5737 GB, free: 7.211 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.04, allocations: 15.3 kB / 0.5737 GB, free: 7.199 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --stepSize=0.00019972 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.924974275985733] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.251653983956203 11.279467922 10.953681871 Calling exit ...