Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.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.001368/0.001368, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001536/0.001536, allocations: 217.6 kB / 22.92 MB, free: 5.191 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.298/1.298, allocations: 230.2 MB / 256.1 MB, free: 8.582 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.1953/0.1953, allocations: 46.89 MB / 359.3 MB, free: 4.934 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.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73",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.002062/0.002062, allocations: 79.86 kB / 0.4941 GB, free: 8.973 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2531, allocations: 65.99 MB / 0.5585 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.00294/0.256, allocations: 1.928 MB / 0.5604 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.2577, allocations: 1.155 MB / 0.5615 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.2578, allocations: 4 kB / 0.5615 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.2581, allocations: 159.5 kB / 0.5617 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003582/0.2584, allocations: 179.3 kB / 0.5618 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.2587, allocations: 119.6 kB / 0.562 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.259, allocations: 243.3 kB / 0.5622 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.2591, allocations: 31.48 kB / 0.5622 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.2592, allocations: 111.5 kB / 0.5623 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.2594, allocations: 139.5 kB / 0.5625 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.2594, allocations: 12 kB / 0.5625 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.2595, allocations: 63.97 kB / 0.5625 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.88e-05/0.2596, allocations: 51.78 kB / 0.5626 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.366e-05/0.2597, allocations: 83.34 kB / 0.5627 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.26, allocations: 230.9 kB / 0.5629 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.26, allocations: 0 / 0.5629 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.26, allocations: 0 / 0.5629 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.26, allocations: 0 / 0.5629 GB, free: 0.6641 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006612/0.2606, allocations: 0.5507 MB / 0.5634 GB, free: 68 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2607, allocations: 12.03 kB / 0.5634 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.065e-05/0.2607, allocations: 38.73 kB / 0.5635 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.351e-05/0.2608, allocations: 28.8 kB / 0.5635 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.2611, allocations: 279.7 kB / 0.5638 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.2611, allocations: 4.375 kB / 0.5638 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.2611, allocations: 11.94 kB / 0.5638 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.2613, allocations: 123.2 kB / 0.5639 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2614, allocations: 0 / 0.5639 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.2614, allocations: 0 / 0.5639 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.2614, allocations: 0 / 0.5639 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.2615, allocations: 51.95 kB / 0.5639 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004931/0.262, allocations: 472.7 kB / 0.5644 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.2623, allocations: 117.2 kB / 0.5645 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.587e-05/0.2624, allocations: 45.83 kB / 0.5646 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.2624, allocations: 0 / 0.5646 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/0.2627, allocations: 133.2 kB / 0.5647 GB, free: 14.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.2627, allocations: 3.938 kB / 0.5647 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001188/0.2638, allocations: 497.5 kB / 0.5652 GB, free: 14.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.2639, allocations: 77.11 kB / 0.5652 GB, free: 14.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/0.2642, allocations: 379.2 kB / 0.5656 GB, free: 13.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.2643, allocations: 29.7 kB / 0.5656 GB, free: 13.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.634e-05/0.2644, allocations: 148.5 kB / 0.5658 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.821e-05/0.2644, allocations: 67.39 kB / 0.5658 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.265e-05/0.2645, allocations: 49.7 kB / 0.5659 GB, free: 13.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.2646, allocations: 338.8 kB / 0.5662 GB, free: 13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.2647, allocations: 59.97 kB / 0.5663 GB, free: 12.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.2649, allocations: 95.33 kB / 0.5663 GB, free: 12.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.2651, allocations: 163.5 kB / 0.5665 GB, free: 12.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2651, allocations: 3.938 kB / 0.5665 GB, free: 12.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003678/0.2655, allocations: 233.3 kB / 0.5667 GB, free: 12.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.2655, allocations: 8 kB / 0.5667 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.2655, allocations: 0 / 0.5667 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2655, allocations: 0 / 0.5667 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.2657, allocations: 43.92 kB / 0.5668 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.2657, allocations: 4 kB / 0.5668 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.778e-05/0.2658, allocations: 16.05 kB / 0.5668 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.2658, allocations: 4 kB / 0.5668 GB, free: 12.36 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001345/0.2659, allocations: 157.8 kB / 0.567 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/0.266, allocations: 31.75 kB / 0.567 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004734/0.2664, allocations: 259.5 kB / 0.5672 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2664, allocations: 4 kB / 0.5672 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2664, allocations: 0 / 0.5672 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2664, allocations: 7.984 kB / 0.5672 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008327/0.2673, allocations: 0.7233 MB / 0.5679 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2673, allocations: 0 / 0.5679 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.242e-05/0.2674, allocations: 31.92 kB / 0.568 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2674, allocations: 4.125 kB / 0.568 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.2674, allocations: 16 kB / 0.568 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2674, allocations: 3.984 kB / 0.568 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.2674, allocations: 7.938 kB / 0.568 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004428/0.2678, allocations: 421.2 kB / 0.5684 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/0.2679, allocations: 101 kB / 0.5685 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.2679, allocations: 11.94 kB / 0.5685 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.2681, allocations: 8 kB / 0.5685 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.2681, allocations: 23.89 kB / 0.5685 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.2681, allocations: 12 kB / 0.5686 GB, free: 10.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002512/0.2684, allocations: 277.9 kB / 0.5688 GB, free: 10.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2684, allocations: 4 kB / 0.5688 GB, free: 10.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003202/0.2687, allocations: 51.92 kB / 0.5689 GB, free: 10.1 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002348/0.2711, allocations: 1.358 MB / 0.5702 GB, free: 8.887 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003111/0.2714, allocations: 151.7 kB / 0.5704 GB, free: 8.738 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2714, allocations: 4 kB / 0.5704 GB, free: 8.734 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.2715, allocations: 76.22 kB / 0.5704 GB, free: 8.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/0.272, allocations: 75 kB / 0.5705 GB, free: 8.594 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/0.2749, allocations: 2.711 MB / 0.5731 GB, free: 5.758 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.2753, allocations: 0.7597 MB / 0.5739 GB, free: 4.973 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.537e-05/0.2753, allocations: 41.92 kB / 0.5739 GB, free: 4.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.2755, allocations: 95.77 kB / 0.574 GB, free: 4.836 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2755, allocations: 0 / 0.574 GB, free: 4.836 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/0.3007, allocations: 6.129 MB / 0.58 GB, free: 14.74 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.283/7.584, allocations: 0 / 0.58 GB, free: 14.74 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.161178804002702]