Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.00125/0.00125, 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.001459/0.001459, allocations: 207.5 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.406/1.406, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.223/0.223, allocations: 46.92 MB / 361.6 MB, free: 4.176 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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 71.89 kB / 0.497 GB, free: 8.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3185, allocations: 66.08 MB / 0.5616 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002391/0.3209, allocations: 1.744 MB / 0.5633 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.3221, allocations: 1.056 MB / 0.5643 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.121e-05/0.3222, allocations: 3.938 kB / 0.5643 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002505/0.3224, allocations: 34.91 kB / 0.5643 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002405/0.3226, allocations: 99 kB / 0.5644 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.3228, allocations: 79.58 kB / 0.5645 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.3229, allocations: 103.6 kB / 0.5646 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.647e-05/0.323, allocations: 13.56 kB / 0.5646 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.174e-05/0.3231, allocations: 50.12 kB / 0.5647 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.665e-05/0.3232, allocations: 31.78 kB / 0.5647 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.3232, allocations: 3.25 kB / 0.5647 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.689e-05/0.3233, allocations: 44.09 kB / 0.5647 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.169e-05/0.3233, allocations: 21.75 kB / 0.5648 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.3234, allocations: 40.92 kB / 0.5648 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.3235, allocations: 120.4 kB / 0.5649 GB, free: 31.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3235, allocations: 0 / 0.5649 GB, free: 31.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3235, allocations: 3.156 kB / 0.5649 GB, free: 31.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.3235, allocations: 0 / 0.5649 GB, free: 31.27 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004077/0.3239, allocations: 343.1 kB / 0.5652 GB, free: 30.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.324, allocations: 13.09 kB / 0.5653 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.27e-05/0.324, allocations: 1.562 kB / 0.5653 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.867e-05/0.324, allocations: 41.22 kB / 0.5653 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.324, allocations: 8.016 kB / 0.5653 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.3242, allocations: 157 kB / 0.5654 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.3242, allocations: 3.594 kB / 0.5655 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.3243, allocations: 7.938 kB / 0.5655 GB, free: 30.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.3244, allocations: 59.41 kB / 0.5655 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3244, allocations: 0 / 0.5655 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.3244, allocations: 0 / 0.5655 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3244, allocations: 0 / 0.5655 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.589e-05/0.3245, allocations: 20.97 kB / 0.5655 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.3247, allocations: 257 kB / 0.5658 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.3249, allocations: 57.06 kB / 0.5658 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.383e-05/0.3249, allocations: 25.72 kB / 0.5659 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.3249, allocations: 2.031 kB / 0.5659 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000119/0.325, allocations: 70.77 kB / 0.5659 GB, free: 30.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.764e-06/0.325, allocations: 4 kB / 0.5659 GB, free: 30.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004452/0.3255, allocations: 177.4 kB / 0.5661 GB, free: 30.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.078e-05/0.3255, allocations: 58.5 kB / 0.5662 GB, free: 30.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.3256, allocations: 197.5 kB / 0.5663 GB, free: 30.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.3257, allocations: 28.64 kB / 0.5664 GB, free: 30.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.25e-05/0.3257, allocations: 102.3 kB / 0.5665 GB, free: 29.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.3257, allocations: 28.31 kB / 0.5665 GB, free: 29.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.3257, allocations: 20.12 kB / 0.5665 GB, free: 29.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.288e-05/0.3258, allocations: 336.5 kB / 0.5668 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.009e-05/0.3258, allocations: 15.78 kB / 0.5669 GB, free: 29.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.066e-05/0.3259, allocations: 39.56 kB / 0.5669 GB, free: 29.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.802e-05/0.326, allocations: 60.66 kB / 0.5669 GB, free: 29.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.326, allocations: 2.656 kB / 0.567 GB, free: 29.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001436/0.3261, allocations: 106.8 kB / 0.5671 GB, free: 29.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.3261, allocations: 9.438 kB / 0.5671 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.3261, allocations: 2.938 kB / 0.5671 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.3261, allocations: 0 / 0.5671 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.657e-05/0.3262, allocations: 15.58 kB / 0.5671 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3262, allocations: 6.5 kB / 0.5671 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.908e-05/0.3263, allocations: 0 / 0.5671 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.3263, allocations: 7.094 kB / 0.5671 GB, free: 29.41 MB / 446.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 (10): * Single equations (assignments): 10 * 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 6.074e-05/0.3263, allocations: 129 kB / 0.5672 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.3263, allocations: 13.72 kB / 0.5672 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.3265, allocations: 115.3 kB / 0.5673 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3265, allocations: 3.594 kB / 0.5673 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3265, allocations: 0 / 0.5673 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3266, allocations: 0.7031 kB / 0.5673 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.3269, allocations: 368.9 kB / 0.5677 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3269, allocations: 2.906 kB / 0.5677 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.96e-05/0.3269, allocations: 9.906 kB / 0.5677 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3269, allocations: 2.938 kB / 0.5677 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.3269, allocations: 10.75 kB / 0.5677 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3269, allocations: 3 kB / 0.5677 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3269, allocations: 0 / 0.5677 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.3271, allocations: 212.4 kB / 0.5679 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.417e-05/0.3271, allocations: 6.859 kB / 0.5679 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.3271, allocations: 10.38 kB / 0.5679 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-05/0.3272, allocations: 3.125 kB / 0.5679 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.3272, allocations: 6.062 kB / 0.568 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.3272, allocations: 7.219 kB / 0.568 GB, free: 28.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.928e-05/0.3273, allocations: 147.8 kB / 0.5681 GB, free: 28.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3273, allocations: 0 / 0.5681 GB, free: 28.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.3275, allocations: 22.22 kB / 0.5681 GB, free: 28.6 MB / 446.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: 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 (8): * Single equations (assignments): 6 * 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.001738/0.3293, allocations: 1.091 MB / 0.5692 GB, free: 27.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001564/0.3294, allocations: 59.05 kB / 0.5692 GB, free: 27.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3294, allocations: 0 / 0.5692 GB, free: 27.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.994e-05/0.3295, allocations: 22.14 kB / 0.5693 GB, free: 27.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.3298, allocations: 38.19 kB / 0.5693 GB, free: 27.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.3311, allocations: 1.655 MB / 0.5709 GB, free: 26.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.3312, allocations: 0.7064 MB / 0.5716 GB, free: 25.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.643e-05/0.3313, allocations: 21.09 kB / 0.5716 GB, free: 25.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.794e-05/0.3313, allocations: 36.47 kB / 0.5717 GB, free: 25.64 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3313, allocations: 0 / 0.5717 GB, free: 25.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.3537, allocations: 3.652 MB / 0.5752 GB, free: 24.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.94, allocations: 6.781 kB / 0.5752 GB, free: 24.78 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.826183950994164] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.147458212974016 11.163085991 10.836389824 Calling exit ...