Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2272/0.2272, allocations: 46.96 MB / 361.7 MB, free: 4.016 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 63.91 kB / 0.4969 GB, free: 7.637 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3157, allocations: 66.03 MB / 0.5614 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003073/0.3187, allocations: 1.71 MB / 0.5631 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.3204, allocations: 0.9676 MB / 0.564 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.47e-05/0.3205, allocations: 4 kB / 0.564 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.3207, allocations: 47.77 kB / 0.5641 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003022/0.321, allocations: 91.61 kB / 0.5642 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.3212, allocations: 83.66 kB / 0.5643 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.3214, allocations: 107.6 kB / 0.5644 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.382e-05/0.3215, allocations: 5.828 kB / 0.5644 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.867e-05/0.3215, allocations: 47.78 kB / 0.5644 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.91e-05/0.3216, allocations: 39.78 kB / 0.5644 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.3216, allocations: 4 kB / 0.5644 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.595e-05/0.3217, allocations: 43.97 kB / 0.5645 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.493e-05/0.3218, allocations: 19.92 kB / 0.5645 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.047e-05/0.3219, allocations: 27.75 kB / 0.5645 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.3221, allocations: 131.4 kB / 0.5647 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3221, allocations: 0 / 0.5647 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3221, allocations: 0 / 0.5647 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.3221, allocations: 3.984 kB / 0.5647 GB, free: 0.8633 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005229/0.3226, allocations: 345.5 kB / 0.565 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3226, allocations: 16.02 kB / 0.565 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.75e-05/0.3227, allocations: 4.188 kB / 0.565 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.205e-05/0.3227, allocations: 30.75 kB / 0.565 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.3227, allocations: 8.891 kB / 0.5651 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.323, allocations: 158.3 kB / 0.5652 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.323, allocations: 12.06 kB / 0.5652 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.323, allocations: 0 / 0.5652 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.3232, allocations: 53.67 kB / 0.5653 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3232, allocations: 4 kB / 0.5653 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.3232, allocations: 0 / 0.5653 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.3232, allocations: 0 / 0.5653 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.391e-05/0.3233, allocations: 31.97 kB / 0.5653 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.3236, allocations: 255.9 kB / 0.5655 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.3238, allocations: 62.55 kB / 0.5656 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.009e-05/0.3239, allocations: 20.86 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.3239, allocations: 0 / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.3241, allocations: 71.38 kB / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.3241, allocations: 0 / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005529/0.3246, allocations: 193.3 kB / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.3247, allocations: 59.41 kB / 0.5659 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.3249, allocations: 222.6 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.3249, allocations: 25.7 kB / 0.5662 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.418e-05/0.325, allocations: 104.1 kB / 0.5663 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.325, allocations: 27.78 kB / 0.5663 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.325, allocations: 21.72 kB / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3252, allocations: 326.8 kB / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.595e-05/0.3252, allocations: 23.92 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.093e-05/0.3253, allocations: 41.7 kB / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.3254, allocations: 57.7 kB / 0.5667 GB, free: 14.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3255, allocations: 4 kB / 0.5667 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002126/0.3257, allocations: 109.5 kB / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3257, allocations: 8 kB / 0.5669 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3257, allocations: 0 / 0.5669 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3257, allocations: 0 / 0.5669 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.796e-05/0.3258, allocations: 12 kB / 0.5669 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3258, allocations: 7.938 kB / 0.5669 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.3258, allocations: 7.922 kB / 0.5669 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3258, allocations: 12.03 kB / 0.5669 GB, free: 14.36 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 (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 0.0001073/0.326, allocations: 132.4 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.326, allocations: 15.89 kB / 0.567 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.3262, allocations: 119 kB / 0.5672 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3263, allocations: 7.984 kB / 0.5672 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3263, allocations: 3.938 kB / 0.5672 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3263, allocations: 0 / 0.5672 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004799/0.3267, allocations: 374.6 kB / 0.5675 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3267, allocations: 0 / 0.5675 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.793e-05/0.3268, allocations: 12.03 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.3268, allocations: 7.938 kB / 0.5675 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.3268, allocations: 7.984 kB / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3268, allocations: 3.938 kB / 0.5676 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3268, allocations: 4 kB / 0.5676 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.3271, allocations: 212.5 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/0.3271, allocations: 11.89 kB / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.3271, allocations: 7.984 kB / 0.5678 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/0.3272, allocations: 4.375 kB / 0.5678 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.3272, allocations: 7.984 kB / 0.5678 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.3272, allocations: 8 kB / 0.5678 GB, free: 13.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001449/0.3274, allocations: 160.3 kB / 0.5679 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3274, allocations: 0 / 0.5679 GB, free: 13.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.3277, allocations: 24 kB / 0.568 GB, free: 13.17 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: 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 (9): * Single equations (assignments): 7 * 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.002253/0.3299, allocations: 1.14 MB / 0.5691 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.3301, allocations: 55.91 kB / 0.5691 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3301, allocations: 0 / 0.5691 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.881e-05/0.3302, allocations: 31.98 kB / 0.5692 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.3305, allocations: 36.86 kB / 0.5692 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.3325, allocations: 1.705 MB / 0.5709 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.3326, allocations: 92.61 kB / 0.571 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.964e-05/0.3327, allocations: 24.88 kB / 0.571 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.408e-05/0.3327, allocations: 39.42 kB / 0.571 GB, free: 10.14 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3327, allocations: 0 / 0.571 GB, free: 10.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.3561, allocations: 3.849 MB / 0.5748 GB, free: 6.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.86, allocations: 11.12 kB / 0.5748 GB, free: 6.352 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.873799926950596] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.08484827389475 12.101814513 11.776535903 Calling exit ...