Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.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.0014/0.0014, allocations: 105 kB / 19.74 MB, free: 2.566 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.001558/0.001558, allocations: 215.1 kB / 22.92 MB, free: 5.535 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.287/1.287, allocations: 230.2 MB / 256.1 MB, free: 8.746 MB / 206.1 MB " [Timeout remaining time 179] 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.1972/0.1972, allocations: 46.88 MB / 359.3 MB, free: 4.996 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-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.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31",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.002134/0.002134, allocations: 79.86 kB / 0.494 GB, free: 9.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2575, allocations: 65.98 MB / 0.5584 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002696/0.2602, allocations: 1.668 MB / 0.5601 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.2619, allocations: 1.267 MB / 0.5613 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.464e-05/0.2619, allocations: 3.938 kB / 0.5613 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.2621, allocations: 31.84 kB / 0.5613 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.2623, allocations: 79.62 kB / 0.5614 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.2627, allocations: 178.4 kB / 0.5616 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.2628, allocations: 83.75 kB / 0.5617 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.617e-05/0.2629, allocations: 9.828 kB / 0.5617 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.253e-05/0.263, allocations: 35.84 kB / 0.5617 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.2631, allocations: 39.84 kB / 0.5617 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.2631, allocations: 4 kB / 0.5617 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.2633, allocations: 99.86 kB / 0.5618 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.654e-05/0.2633, allocations: 27.91 kB / 0.5619 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.376e-05/0.2634, allocations: 31.8 kB / 0.5619 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.2636, allocations: 163.4 kB / 0.5621 GB, free: 1.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2636, allocations: 0 / 0.5621 GB, free: 1.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2636, allocations: 0 / 0.5621 GB, free: 1.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.2636, allocations: 0 / 0.5621 GB, free: 1.496 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005126/0.2642, allocations: 426.6 kB / 0.5625 GB, free: 1.031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.2642, allocations: 8.031 kB / 0.5625 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.477e-05/0.2642, allocations: 34.75 kB / 0.5625 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.2643, allocations: 8.891 kB / 0.5625 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.2645, allocations: 204.1 kB / 0.5627 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-06/0.2645, allocations: 8.359 kB / 0.5627 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.2645, allocations: 384 / 0.5627 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.2647, allocations: 83.27 kB / 0.5628 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2647, allocations: 0 / 0.5628 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.2647, allocations: 4 kB / 0.5628 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.2647, allocations: 0 / 0.5628 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.2648, allocations: 43.95 kB / 0.5628 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.2652, allocations: 316.7 kB / 0.5631 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.2653, allocations: 46.56 kB / 0.5632 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.261e-05/0.2654, allocations: 20.94 kB / 0.5632 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.2654, allocations: 7.984 kB / 0.5632 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.2654, allocations: 34.56 kB / 0.5632 GB, free: 100 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2654, allocations: 0 / 0.5632 GB, free: 100 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007717/0.2662, allocations: 229.4 kB / 0.5635 GB, free: 15.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.2663, allocations: 85.11 kB / 0.5635 GB, free: 15.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.2664, allocations: 163.9 kB / 0.5637 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.2664, allocations: 25.7 kB / 0.5637 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/0.2665, allocations: 100.1 kB / 0.5638 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.2665, allocations: 27.86 kB / 0.5639 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.2666, allocations: 21.7 kB / 0.5639 GB, free: 15.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.2667, allocations: 318.8 kB / 0.5642 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.2668, allocations: 47.89 kB / 0.5642 GB, free: 15.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.2669, allocations: 49.69 kB / 0.5643 GB, free: 14.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.2672, allocations: 93.02 kB / 0.5644 GB, free: 14.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.2672, allocations: 0 / 0.5644 GB, free: 14.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002915/0.2675, allocations: 125.6 kB / 0.5645 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.2675, allocations: 4 kB / 0.5645 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.2675, allocations: 3.938 kB / 0.5645 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.2675, allocations: 0 / 0.5645 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.2676, allocations: 27.91 kB / 0.5645 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.2676, allocations: 0 / 0.5645 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.172e-05/0.2677, allocations: 11.94 kB / 0.5645 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.2677, allocations: 0 / 0.5645 GB, free: 14.72 MB / 414.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 8.583e-05/0.2678, allocations: 129.8 kB / 0.5646 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.2678, allocations: 11.91 kB / 0.5647 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003348/0.2681, allocations: 138.3 kB / 0.5648 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.2681, allocations: 0 / 0.5648 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2681, allocations: 0 / 0.5648 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.2682, allocations: 7.875 kB / 0.5648 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005426/0.2687, allocations: 418.5 kB / 0.5652 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2687, allocations: 0 / 0.5652 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.516e-05/0.2688, allocations: 15.98 kB / 0.5652 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2688, allocations: 4 kB / 0.5652 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.2688, allocations: 7.938 kB / 0.5652 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2688, allocations: 3.938 kB / 0.5652 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2688, allocations: 4 kB / 0.5652 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.2691, allocations: 231.4 kB / 0.5655 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.2692, allocations: 85.06 kB / 0.5655 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.2692, allocations: 7.938 kB / 0.5655 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.675e-05/0.2693, allocations: 11.98 kB / 0.5656 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.2693, allocations: 11.98 kB / 0.5656 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.2693, allocations: 0 / 0.5656 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.538e-05/0.2694, allocations: 116.5 kB / 0.5657 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2694, allocations: 4 kB / 0.5657 GB, free: 13.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.2697, allocations: 39.88 kB / 0.5657 GB, free: 13.39 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: 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.002038/0.2717, allocations: 1.144 MB / 0.5668 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000292/0.272, allocations: 87.92 kB / 0.5669 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.272, allocations: 0 / 0.5669 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.2722, allocations: 47.91 kB / 0.567 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.2725, allocations: 27.86 kB / 0.567 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.2744, allocations: 1.64 MB / 0.5686 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.2747, allocations: 0.7118 MB / 0.5693 GB, free: 9.762 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.914e-05/0.2748, allocations: 28.64 kB / 0.5693 GB, free: 9.734 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.773e-05/0.2748, allocations: 35.36 kB / 0.5693 GB, free: 9.699 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2748, allocations: 0 / 0.5693 GB, free: 9.699 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02594/0.3008, allocations: 3.609 MB / 0.5729 GB, free: 6.082 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.083/7.384, allocations: 3.438 kB / 0.5729 GB, free: 6.082 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.912181489999057]