Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.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.001242/0.001242, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001523/0.001523, allocations: 212 kB / 24.54 MB, free: 4.016 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.526/1.526, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.251/0.251, allocations: 46.93 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.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test22",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.002331/0.002331, allocations: 79.84 kB / 0.497 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4101, allocations: 66.08 MB / 0.5616 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003968/0.414, allocations: 1.744 MB / 0.5633 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.4162, allocations: 1.045 MB / 0.5643 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.373e-05/0.4163, allocations: 3.938 kB / 0.5643 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003906/0.4167, allocations: 43.77 kB / 0.5643 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003897/0.4171, allocations: 99.59 kB / 0.5644 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.4174, allocations: 79.66 kB / 0.5645 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.4176, allocations: 99.7 kB / 0.5646 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.4177, allocations: 14.23 kB / 0.5646 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.4178, allocations: 51.72 kB / 0.5647 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.619e-05/0.4179, allocations: 35.78 kB / 0.5647 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.4179, allocations: 4 kB / 0.5647 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-05/0.418, allocations: 39.98 kB / 0.5647 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/0.4181, allocations: 19.92 kB / 0.5648 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.399e-05/0.4181, allocations: 35.73 kB / 0.5648 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.4184, allocations: 127.4 kB / 0.5649 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4184, allocations: 0 / 0.5649 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4184, allocations: 0 / 0.5649 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.4184, allocations: 0 / 0.5649 GB, free: 0.9727 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.0005835/0.419, allocations: 349.5 kB / 0.5653 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.419, allocations: 8.031 kB / 0.5653 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.109e-05/0.419, allocations: 34.75 kB / 0.5653 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.4191, allocations: 12.89 kB / 0.5653 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.4194, allocations: 158.9 kB / 0.5655 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.4194, allocations: 8.375 kB / 0.5655 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.4194, allocations: 4.375 kB / 0.5655 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.4196, allocations: 61.73 kB / 0.5655 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.4196, allocations: 0 / 0.5655 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.4196, allocations: 0 / 0.5655 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.4196, allocations: 0 / 0.5655 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.332e-05/0.4197, allocations: 19.98 kB / 0.5656 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.4201, allocations: 259.9 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.4202, allocations: 66.61 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.894e-05/0.4203, allocations: 16.86 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.4203, allocations: 0 / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.4205, allocations: 63.39 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.4205, allocations: 4 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006092/0.4211, allocations: 177.3 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.28e-05/0.4212, allocations: 51.41 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.4215, allocations: 202.3 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.4215, allocations: 25.7 kB / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.416e-05/0.4216, allocations: 108.1 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.694e-05/0.4216, allocations: 31.77 kB / 0.5665 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.4217, allocations: 25.72 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.4218, allocations: 330.8 kB / 0.5669 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.666e-05/0.4219, allocations: 19.98 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.882e-05/0.422, allocations: 41.64 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.4221, allocations: 53.78 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.4221, allocations: 0 / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002129/0.4223, allocations: 113.5 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.4224, allocations: 4 kB / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.4224, allocations: 0 / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.989e-05/0.4224, allocations: 4 kB / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.4225, allocations: 15.98 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4225, allocations: 0 / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.4225, allocations: 4 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.4226, allocations: 0 / 0.5671 GB, free: 14.54 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 (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.0001611/0.4227, allocations: 142.6 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.4227, allocations: 15.94 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.423, allocations: 111 kB / 0.5674 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.423, allocations: 4 kB / 0.5674 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.423, allocations: 0 / 0.5674 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.423, allocations: 0 / 0.5674 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004741/0.4235, allocations: 366.4 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4235, allocations: 0 / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.4235, allocations: 8.375 kB / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4235, allocations: 4.031 kB / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.4235, allocations: 4.172 kB / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.4235, allocations: 15.88 kB / 0.5677 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4235, allocations: 3.938 kB / 0.5677 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.4238, allocations: 204.3 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.4238, allocations: 7.953 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.4238, allocations: 0 / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-05/0.4239, allocations: 11.94 kB / 0.568 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.4239, allocations: 15.92 kB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.4239, allocations: 0 / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.4241, allocations: 148.2 kB / 0.5681 GB, free: 13.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4241, allocations: 4 kB / 0.5681 GB, free: 13.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.4243, allocations: 27.92 kB / 0.5681 GB, free: 13.37 MB / 414.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.002175/0.4265, allocations: 1.085 MB / 0.5692 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.4267, allocations: 67.83 kB / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4267, allocations: 0 / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.806e-05/0.4268, allocations: 24 kB / 0.5693 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.4272, allocations: 30.41 kB / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.4291, allocations: 1.662 MB / 0.5709 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.4295, allocations: 0.7002 MB / 0.5716 GB, free: 9.824 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.212e-05/0.4295, allocations: 17.27 kB / 0.5716 GB, free: 9.809 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.203e-05/0.4296, allocations: 35.42 kB / 0.5717 GB, free: 9.773 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4296, allocations: 0 / 0.5717 GB, free: 9.773 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02618/0.4558, allocations: 3.536 MB / 0.5751 GB, free: 6.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/8.202, allocations: 8.062 kB / 0.5751 GB, free: 6.242 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.252079172991216] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.343004442751408 8.364239078 7.942604723 Calling exit ...