Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.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.001439/0.001439, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001519/0.001519, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.48/1.48, allocations: 230.5 MB / 258.2 MB, free: 8.031 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.2486/0.2486, allocations: 46.94 MB / 361.6 MB, free: 4.203 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.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test8",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.002397/0.002397, allocations: 87.84 kB / 0.497 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3957, allocations: 66.08 MB / 0.5616 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003469/0.3992, allocations: 1.764 MB / 0.5633 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.4011, allocations: 1.049 MB / 0.5643 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.035e-05/0.4012, allocations: 7.938 kB / 0.5643 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003841/0.4015, allocations: 111.6 kB / 0.5644 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003729/0.4019, allocations: 127.5 kB / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.4021, allocations: 79.67 kB / 0.5646 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.4024, allocations: 135.6 kB / 0.5648 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.4025, allocations: 13.95 kB / 0.5648 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.4026, allocations: 63.75 kB / 0.5648 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.4027, allocations: 79.72 kB / 0.5649 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.4028, allocations: 8 kB / 0.5649 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.4029, allocations: 59.98 kB / 0.565 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.007e-05/0.403, allocations: 31.84 kB / 0.565 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.557e-05/0.4031, allocations: 55.55 kB / 0.5651 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.4033, allocations: 155.3 kB / 0.5652 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.4033, allocations: 0 / 0.5652 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4033, allocations: 0 / 0.5652 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.4033, allocations: 0 / 0.5652 GB, free: 0.5664 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006736/0.404, allocations: 389.2 kB / 0.5656 GB, free: 160 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.4041, allocations: 16.03 kB / 0.5656 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.64e-05/0.4041, allocations: 34.75 kB / 0.5656 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.4042, allocations: 16.84 kB / 0.5656 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.4045, allocations: 171.1 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.4045, allocations: 4.375 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.4045, allocations: 384 / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.4047, allocations: 73.78 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.4047, allocations: 0 / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.4048, allocations: 0 / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.4048, allocations: 0 / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.4049, allocations: 39.92 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.4053, allocations: 283.8 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.4056, allocations: 74.53 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.892e-05/0.4056, allocations: 20.95 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.4057, allocations: 3.938 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.4058, allocations: 79.38 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.4058, allocations: 0 / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008383/0.4067, allocations: 285.2 kB / 0.5666 GB, free: 14.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.4067, allocations: 55.41 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.407, allocations: 259.7 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.407, allocations: 29.7 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.4071, allocations: 116.1 kB / 0.5671 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.029e-05/0.4072, allocations: 39.62 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/0.4072, allocations: 33.7 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.4074, allocations: 326.8 kB / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.079e-05/0.4075, allocations: 31.98 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.756e-05/0.4076, allocations: 49.64 kB / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.4077, allocations: 89.7 kB / 0.5676 GB, free: 13.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.4077, allocations: 0 / 0.5676 GB, free: 13.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002671/0.408, allocations: 153.4 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.408, allocations: 4 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.408, allocations: 3.984 kB / 0.5678 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.4081, allocations: 4 kB / 0.5678 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.612e-05/0.4081, allocations: 19.98 kB / 0.5678 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.4081, allocations: 4 kB / 0.5678 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.501e-05/0.4082, allocations: 19.91 kB / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.4082, allocations: 8 kB / 0.5678 GB, free: 13.67 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 (14): * Single equations (assignments): 14 * 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.0001325/0.4083, allocations: 141.9 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.4084, allocations: 15.91 kB / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/0.4087, allocations: 159 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.4087, allocations: 0 / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4087, allocations: 0 / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4087, allocations: 3.938 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006189/0.4093, allocations: 455.1 kB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4094, allocations: 0 / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.024e-05/0.4094, allocations: 23.92 kB / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4094, allocations: 0 / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.4094, allocations: 7.938 kB / 0.5686 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.4094, allocations: 0.7031 kB / 0.5686 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4094, allocations: 0 / 0.5686 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.4097, allocations: 249.1 kB / 0.5688 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.4098, allocations: 15.84 kB / 0.5689 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.4098, allocations: 4 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.552e-05/0.4099, allocations: 4 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.4099, allocations: 15.92 kB / 0.5689 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.4099, allocations: 7.984 kB / 0.5689 GB, free: 12.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.4101, allocations: 193.5 kB / 0.5691 GB, free: 12.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4101, allocations: 0 / 0.5691 GB, free: 12.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002882/0.4104, allocations: 35.94 kB / 0.5691 GB, free: 12.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002456/0.4129, allocations: 1.19 MB / 0.5703 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000238/0.4131, allocations: 79.91 kB / 0.5703 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4131, allocations: 0 / 0.5703 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.938e-05/0.4132, allocations: 43.91 kB / 0.5704 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.4136, allocations: 31.75 kB / 0.5704 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.416, allocations: 1.952 MB / 0.5723 GB, free: 9.039 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.4163, allocations: 0.7242 MB / 0.573 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.333e-05/0.4164, allocations: 25.06 kB / 0.5731 GB, free: 8.266 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.299e-05/0.4165, allocations: 55.36 kB / 0.5731 GB, free: 8.211 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4165, allocations: 0 / 0.5731 GB, free: 8.211 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.4446, allocations: 4.314 MB / 0.5773 GB, free: 3.918 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.326, allocations: 0 / 0.5773 GB, free: 3.918 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.35946118272841] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd2_t_new.y'] 8.46811504708603 8.491688406 8.084035169 Calling exit ...