Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.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.00161/0.00161, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.002008/0.002008, allocations: 209.9 kB / 24.54 MB, free: 3.875 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.481/1.481, allocations: 230.5 MB / 258.2 MB, free: 7.977 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.2305/0.2305, allocations: 46.93 MB / 361.6 MB, free: 4.176 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.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29",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.003185/0.003185, allocations: 83.84 kB / 0.497 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4411, allocations: 66.09 MB / 0.5615 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003456/0.4446, allocations: 1.666 MB / 0.5632 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.4458, allocations: 0.5732 MB / 0.5637 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.315e-05/0.4458, allocations: 3.938 kB / 0.5637 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.4461, allocations: 31.83 kB / 0.5638 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.4464, allocations: 83.61 kB / 0.5638 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.4467, allocations: 115.7 kB / 0.5639 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.4469, allocations: 91.77 kB / 0.564 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.447, allocations: 23.97 kB / 0.5641 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.174e-05/0.4471, allocations: 31.86 kB / 0.5641 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.4472, allocations: 43.83 kB / 0.5641 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.4472, allocations: 8 kB / 0.5641 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.651e-05/0.4473, allocations: 43.98 kB / 0.5642 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.273e-05/0.4473, allocations: 27.8 kB / 0.5642 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.845e-05/0.4474, allocations: 43.72 kB / 0.5642 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.4476, allocations: 111.4 kB / 0.5643 GB, free: 1.277 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4476, allocations: 4 kB / 0.5644 GB, free: 1.273 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4476, allocations: 0 / 0.5644 GB, free: 1.273 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.4476, allocations: 0 / 0.5644 GB, free: 1.273 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005448/0.4481, allocations: 337.7 kB / 0.5647 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.4482, allocations: 8.031 kB / 0.5647 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.37e-05/0.4482, allocations: 42.69 kB / 0.5647 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.4482, allocations: 12.84 kB / 0.5647 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.4484, allocations: 138.4 kB / 0.5649 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.4484, allocations: 4.375 kB / 0.5649 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.4485, allocations: 8.375 kB / 0.5649 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.4486, allocations: 77.72 kB / 0.565 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.4487, allocations: 3.938 kB / 0.565 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.4487, allocations: 8 kB / 0.565 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4487, allocations: 0 / 0.565 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.4488, allocations: 47.89 kB / 0.565 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004815/0.4493, allocations: 311.8 kB / 0.5653 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.4494, allocations: 66.44 kB / 0.5654 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.2e-05/0.4495, allocations: 24.84 kB / 0.5654 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.4495, allocations: 4 kB / 0.5654 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.4495, allocations: 34.55 kB / 0.5654 GB, free: 36 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.4495, allocations: 0 / 0.5654 GB, free: 36 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001114/0.4507, allocations: 329.7 kB / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.4507, allocations: 59.34 kB / 0.5658 GB, free: 15.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.4509, allocations: 157.8 kB / 0.566 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.4509, allocations: 25.7 kB / 0.566 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.633e-05/0.451, allocations: 104.1 kB / 0.5661 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.451, allocations: 43.59 kB / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.451, allocations: 33.64 kB / 0.5662 GB, free: 15.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4512, allocations: 326.8 kB / 0.5665 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.4513, allocations: 43.97 kB / 0.5665 GB, free: 14.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.4514, allocations: 48.09 kB / 0.5665 GB, free: 14.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.4516, allocations: 112.8 kB / 0.5667 GB, free: 14.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4516, allocations: 0 / 0.5667 GB, free: 14.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002815/0.4519, allocations: 149.5 kB / 0.5668 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.4519, allocations: 7.984 kB / 0.5668 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4519, allocations: 3.938 kB / 0.5668 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.4519, allocations: 4 kB / 0.5668 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.4521, allocations: 31.92 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.4521, allocations: 0 / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.283e-05/0.4521, allocations: 7.938 kB / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.4521, allocations: 4 kB / 0.5669 GB, free: 14.51 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 (13): * Single equations (assignments): 13 * 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.0001061/0.4522, allocations: 126.7 kB / 0.567 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.4523, allocations: 11.95 kB / 0.567 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003843/0.4527, allocations: 189.4 kB / 0.5672 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4527, allocations: 3.938 kB / 0.5672 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.4527, allocations: 4 kB / 0.5672 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4527, allocations: 3.984 kB / 0.5672 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006782/0.4533, allocations: 466.2 kB / 0.5676 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.4533, allocations: 4 kB / 0.5676 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.153e-05/0.4534, allocations: 23.98 kB / 0.5677 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.4534, allocations: 0 / 0.5677 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.4534, allocations: 7.938 kB / 0.5677 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4535, allocations: 0 / 0.5677 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4535, allocations: 0 / 0.5677 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.4538, allocations: 260.2 kB / 0.5679 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.4538, allocations: 7.953 kB / 0.5679 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.4538, allocations: 4 kB / 0.5679 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.018e-05/0.4539, allocations: 4 kB / 0.5679 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.4539, allocations: 7.984 kB / 0.5679 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.454, allocations: 15.98 kB / 0.5679 GB, free: 13.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001157/0.4541, allocations: 134.1 kB / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4541, allocations: 4 kB / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.4543, allocations: 27.94 kB / 0.5681 GB, free: 13.15 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.002276/0.4566, allocations: 1.13 MB / 0.5692 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003018/0.4569, allocations: 107.9 kB / 0.5693 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4569, allocations: 3.938 kB / 0.5693 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.457, allocations: 63.91 kB / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.4574, allocations: 18.45 kB / 0.5694 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.4597, allocations: 1.744 MB / 0.5711 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.4601, allocations: 0.7125 MB / 0.5718 GB, free: 9.395 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.909e-05/0.4601, allocations: 24.47 kB / 0.5718 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.577e-05/0.4602, allocations: 43.42 kB / 0.5719 GB, free: 9.328 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4602, allocations: 0 / 0.5719 GB, free: 9.328 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.4879, allocations: 3.387 MB / 0.5752 GB, free: 5.945 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.496, allocations: 0 / 0.5752 GB, free: 5.945 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.451330942101777] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd_t_new2.y', 'clock.y', 'd2_t_new.y', 'd2_t_new2.y'] 8.64081059396267 8.659099111 8.207215542 Calling exit ...