Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.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.001296/0.001296, allocations: 109.2 kB / 20.42 MB, free: 1.684 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.001414/0.001414, allocations: 218 kB / 23.72 MB, free: 5.051 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.434/1.434, allocations: 230.2 MB / 257.1 MB, free: 8.473 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.2341/0.2341, allocations: 46.89 MB / 360.3 MB, free: 4.629 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test10",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.00332/0.00332, allocations: 79.86 kB / 0.4956 GB, free: 8.844 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3679, allocations: 65.98 MB / 0.56 GB, free: 33.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.002698/0.3706, allocations: 1.669 MB / 0.5616 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.3721, allocations: 1.279 MB / 0.5629 GB, free: 31.87 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.204e-05/0.3721, allocations: 0 / 0.5629 GB, free: 31.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.3723, allocations: 18.59 kB / 0.5629 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.3726, allocations: 89.25 kB / 0.563 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.3729, allocations: 135.5 kB / 0.5631 GB, free: 31.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.3731, allocations: 77.67 kB / 0.5632 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.875e-05/0.3732, allocations: 11.23 kB / 0.5632 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.807e-05/0.3732, allocations: 33.34 kB / 0.5632 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.3734, allocations: 40.11 kB / 0.5633 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.3734, allocations: 2.719 kB / 0.5633 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.3735, allocations: 100.4 kB / 0.5634 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.296e-05/0.3736, allocations: 21.2 kB / 0.5634 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.258e-05/0.3736, allocations: 33.38 kB / 0.5634 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.3739, allocations: 152.3 kB / 0.5636 GB, free: 31.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3739, allocations: 2 kB / 0.5636 GB, free: 31.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3739, allocations: 0 / 0.5636 GB, free: 31.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.3739, allocations: 0 / 0.5636 GB, free: 31.54 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004636/0.3743, allocations: 420.2 kB / 0.564 GB, free: 31.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3744, allocations: 13.66 kB / 0.564 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.951e-05/0.3744, allocations: 38.81 kB / 0.564 GB, free: 31.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.3744, allocations: 10.89 kB / 0.564 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.3746, allocations: 204 kB / 0.5642 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.3746, allocations: 4.375 kB / 0.5642 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.3747, allocations: 3.375 kB / 0.5642 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.3748, allocations: 75.17 kB / 0.5643 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3748, allocations: 3.938 kB / 0.5643 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.3748, allocations: 0 / 0.5643 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.3748, allocations: 3.094 kB / 0.5643 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.375, allocations: 32.16 kB / 0.5643 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002995/0.3753, allocations: 302.3 kB / 0.5646 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.3754, allocations: 41.73 kB / 0.5647 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.214e-05/0.3754, allocations: 25.42 kB / 0.5647 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.3755, allocations: 4.812 kB / 0.5647 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.3755, allocations: 37.56 kB / 0.5647 GB, free: 30.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.904e-06/0.3755, allocations: 1.219 kB / 0.5647 GB, free: 30.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007293/0.3762, allocations: 209.2 kB / 0.5649 GB, free: 30.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.3762, allocations: 83.83 kB / 0.565 GB, free: 30.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.3764, allocations: 150.9 kB / 0.5651 GB, free: 30.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.3764, allocations: 25.7 kB / 0.5652 GB, free: 30.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.3764, allocations: 97.59 kB / 0.5653 GB, free: 29.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.3764, allocations: 27.81 kB / 0.5653 GB, free: 29.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.3765, allocations: 27.11 kB / 0.5653 GB, free: 29.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.493e-05/0.3765, allocations: 321.8 kB / 0.5656 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.3766, allocations: 34.47 kB / 0.5657 GB, free: 29.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.3767, allocations: 45.55 kB / 0.5657 GB, free: 29.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.3769, allocations: 84.23 kB / 0.5658 GB, free: 29.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3769, allocations: 0 / 0.5658 GB, free: 29.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002444/0.3772, allocations: 106 kB / 0.5659 GB, free: 29.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.3772, allocations: 6.562 kB / 0.5659 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3772, allocations: 3.75 kB / 0.5659 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3772, allocations: 0 / 0.5659 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.3773, allocations: 26.92 kB / 0.5659 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3773, allocations: 0 / 0.5659 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.918e-05/0.3774, allocations: 9.688 kB / 0.5659 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.3774, allocations: 3.281 kB / 0.5659 GB, free: 29.52 MB / 446.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 (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 5.773e-05/0.3774, allocations: 121.1 kB / 0.566 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.3775, allocations: 7.891 kB / 0.566 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.3778, allocations: 129.2 kB / 0.5662 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3778, allocations: 3.938 kB / 0.5662 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3778, allocations: 3 kB / 0.5662 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3778, allocations: 7.359 kB / 0.5662 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004718/0.3783, allocations: 391.5 kB / 0.5666 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3783, allocations: 0.6094 kB / 0.5666 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.957e-05/0.3784, allocations: 19.53 kB / 0.5666 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3784, allocations: 0 / 0.5666 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.3784, allocations: 4.734 kB / 0.5666 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3784, allocations: 7.094 kB / 0.5666 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3784, allocations: 4.922 kB / 0.5666 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.3787, allocations: 221.7 kB / 0.5668 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.395e-05/0.3787, allocations: 94.27 kB / 0.5669 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.3787, allocations: 3.953 kB / 0.5669 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.3788, allocations: 17.17 kB / 0.5669 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.3789, allocations: 2.062 kB / 0.5669 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.3789, allocations: 4.219 kB / 0.5669 GB, free: 28.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.238e-05/0.379, allocations: 126.4 kB / 0.567 GB, free: 28.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.379, allocations: 0 / 0.567 GB, free: 28.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002891/0.3793, allocations: 36.75 kB / 0.5671 GB, free: 28.59 MB / 446.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.002016/0.3813, allocations: 1.134 MB / 0.5682 GB, free: 27.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003208/0.3816, allocations: 71.17 kB / 0.5683 GB, free: 27.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3816, allocations: 3.094 kB / 0.5683 GB, free: 27.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.3817, allocations: 39.83 kB / 0.5683 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.0003833/0.3821, allocations: 27.55 kB / 0.5683 GB, free: 27.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.3839, allocations: 1.599 MB / 0.5699 GB, free: 26.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.3841, allocations: 0.6975 MB / 0.5706 GB, free: 25.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.444e-05/0.3841, allocations: 20.84 kB / 0.5706 GB, free: 25.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.3842, allocations: 34.44 kB / 0.5706 GB, free: 25.7 MB / 446.1 MB Notification: Performance of SimCode: time 4e-07/0.3842, allocations: 0 / 0.5706 GB, free: 25.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02794/0.4122, allocations: 3.545 MB / 0.5741 GB, free: 24.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.083/8.495, allocations: 8.938 kB / 0.5741 GB, free: 24.78 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test10_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test10.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.416890381835401] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock1.y', 'clock2.y'] 8.624712545890361 8.63694333 8.260406489 Calling exit ...