Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.001792/0.001792, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001975/0.001975, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.463/1.463, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.22/0.22, allocations: 44.91 MB / 359.6 MB, free: 6.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 68.19 kB / 0.4939 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3077, allocations: 65.47 MB / 0.5579 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003227/0.3109, allocations: 1.743 MB / 0.5596 GB, free: 6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.3127, allocations: 1.049 MB / 0.5606 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.736e-05/0.3127, allocations: 0 / 0.5606 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.313, allocations: 59.69 kB / 0.5606 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003123/0.3134, allocations: 99.59 kB / 0.5607 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.3136, allocations: 83.61 kB / 0.5608 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.3138, allocations: 111.7 kB / 0.5609 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.229e-05/0.3138, allocations: 9.969 kB / 0.5609 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.314, allocations: 47.72 kB / 0.561 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.517e-05/0.314, allocations: 35.84 kB / 0.561 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.3141, allocations: 4 kB / 0.561 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.354e-05/0.3142, allocations: 39.98 kB / 0.5611 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.099e-05/0.3142, allocations: 27.86 kB / 0.5611 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.189e-05/0.3143, allocations: 51.59 kB / 0.5611 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.3145, allocations: 131.4 kB / 0.5613 GB, free: 4.258 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3145, allocations: 0 / 0.5613 GB, free: 4.258 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.3145, allocations: 3.984 kB / 0.5613 GB, free: 4.254 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.3145, allocations: 0 / 0.5613 GB, free: 4.254 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.0005572/0.3151, allocations: 381.2 kB / 0.5616 GB, free: 3.852 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.3151, allocations: 8.031 kB / 0.5616 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.318e-05/0.3151, allocations: 4.188 kB / 0.5616 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.243e-05/0.3152, allocations: 34.75 kB / 0.5617 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.3152, allocations: 12.84 kB / 0.5617 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.3155, allocations: 167.1 kB / 0.5618 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.3155, allocations: 12.12 kB / 0.5618 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.3155, allocations: 0 / 0.5618 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.3157, allocations: 57.67 kB / 0.5619 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3157, allocations: 0 / 0.5619 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.3157, allocations: 0 / 0.5619 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3157, allocations: 4 kB / 0.5619 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.112e-05/0.3157, allocations: 15.98 kB / 0.5619 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.3161, allocations: 275.8 kB / 0.5622 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.3163, allocations: 50.62 kB / 0.5622 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.416e-05/0.3164, allocations: 20.91 kB / 0.5623 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.3164, allocations: 4 kB / 0.5623 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.3165, allocations: 63.39 kB / 0.5623 GB, free: 3.027 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.3165, allocations: 0 / 0.5623 GB, free: 3.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006344/0.3172, allocations: 193.3 kB / 0.5625 GB, free: 2.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.3172, allocations: 55.41 kB / 0.5626 GB, free: 2.766 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.3175, allocations: 279.7 kB / 0.5628 GB, free: 2.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.3176, allocations: 29.64 kB / 0.5629 GB, free: 2.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.133e-05/0.3176, allocations: 112.1 kB / 0.563 GB, free: 2.332 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.3177, allocations: 27.78 kB / 0.563 GB, free: 2.305 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.3177, allocations: 21.72 kB / 0.563 GB, free: 2.277 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.3179, allocations: 330.8 kB / 0.5633 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.842e-05/0.318, allocations: 20 kB / 0.5633 GB, free: 1.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.782e-05/0.318, allocations: 41.64 kB / 0.5634 GB, free: 1.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.3182, allocations: 57.7 kB / 0.5634 GB, free: 1.816 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3182, allocations: 384 / 0.5634 GB, free: 1.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002135/0.3184, allocations: 109.4 kB / 0.5635 GB, free: 1.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3184, allocations: 7.984 kB / 0.5635 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3184, allocations: 8.031 kB / 0.5636 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3184, allocations: 0 / 0.5636 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.827e-05/0.3185, allocations: 19.94 kB / 0.5636 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.3185, allocations: 4.094 kB / 0.5636 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.276e-05/0.3186, allocations: 8 kB / 0.5636 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.3186, allocations: 7.984 kB / 0.5636 GB, free: 1.648 MB / 398.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.0001472/0.3187, allocations: 140.4 kB / 0.5637 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.3188, allocations: 11.91 kB / 0.5637 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.319, allocations: 123 kB / 0.5639 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3191, allocations: 7.938 kB / 0.5639 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.3191, allocations: 3.938 kB / 0.5639 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3191, allocations: 0 / 0.5639 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005295/0.3196, allocations: 374.4 kB / 0.5642 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3196, allocations: 3.938 kB / 0.5642 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.589e-05/0.3196, allocations: 8 kB / 0.5642 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/0.3196, allocations: 3.938 kB / 0.5642 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.3197, allocations: 8 kB / 0.5642 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3197, allocations: 4.031 kB / 0.5643 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3197, allocations: 0 / 0.5643 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.3199, allocations: 204.3 kB / 0.5644 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.856e-05/0.32, allocations: 19.84 kB / 0.5645 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.32, allocations: 0 / 0.5645 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.505e-05/0.3201, allocations: 4 kB / 0.5645 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.3201, allocations: 15.92 kB / 0.5645 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.3201, allocations: 0 / 0.5645 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002102/0.3203, allocations: 208.6 kB / 0.5647 GB, free: 448 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3203, allocations: 0 / 0.5647 GB, free: 448 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002954/0.3206, allocations: 23.94 kB / 0.5647 GB, free: 424 kB / 398.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.002226/0.3228, allocations: 1.103 MB / 0.5658 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.323, allocations: 59.89 kB / 0.5658 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.323, allocations: 4.062 kB / 0.5658 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.805e-05/0.3231, allocations: 31.92 kB / 0.5659 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.3235, allocations: 28.73 kB / 0.5659 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.3257, allocations: 1.824 MB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.3261, allocations: 0.7197 MB / 0.5684 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.264e-05/0.3261, allocations: 16.97 kB / 0.5684 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.876e-05/0.3262, allocations: 43.42 kB / 0.5684 GB, free: 12.64 MB / 414.1 MB Notification: Performance of SimCode: time 1.613e-06/0.3262, allocations: 3.938 kB / 0.5684 GB, free: 12.63 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.3495, allocations: 4.005 MB / 0.5724 GB, free: 8.707 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.65, allocations: 8.062 kB / 0.5724 GB, free: 8.699 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.650432288995944] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.872966347960755 11.899717613 11.580439185 Calling exit ...