Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test33.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.001663/0.001663, allocations: 108.7 kB / 19.8 MB, free: 2.516 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.002014/0.002014, allocations: 215.7 kB / 23 MB, free: 5.609 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.485/1.485, allocations: 230.2 MB / 256.2 MB, free: 8.699 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.2621/0.2621, allocations: 46.89 MB / 359.4 MB, free: 4.934 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.CombiTable1Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test33",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.003876/0.003876, allocations: 91.84 kB / 0.4942 GB, free: 8.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3496, allocations: 65.98 MB / 0.5586 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.00308/0.3527, allocations: 1.612 MB / 0.5602 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.3546, allocations: 1.239 MB / 0.5614 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.288e-05/0.3546, allocations: 4 kB / 0.5614 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.3548, allocations: 27.84 kB / 0.5614 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.3551, allocations: 83.61 kB / 0.5615 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.3554, allocations: 118.9 kB / 0.5616 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.3556, allocations: 63.84 kB / 0.5617 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.954e-05/0.3557, allocations: 9.812 kB / 0.5617 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.683e-05/0.3557, allocations: 31.84 kB / 0.5617 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.3559, allocations: 27.86 kB / 0.5617 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.3559, allocations: 4 kB / 0.5617 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.3561, allocations: 99.92 kB / 0.5618 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.995e-05/0.3561, allocations: 15.88 kB / 0.5618 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.757e-05/0.3562, allocations: 27.84 kB / 0.5619 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.3564, allocations: 143.5 kB / 0.562 GB, free: 1.637 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3564, allocations: 0 / 0.562 GB, free: 1.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3564, allocations: 0 / 0.562 GB, free: 1.637 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.3564, allocations: 3.984 kB / 0.562 GB, free: 1.633 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005644/0.357, allocations: 398.8 kB / 0.5624 GB, free: 1.191 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.357, allocations: 8.031 kB / 0.5624 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.109e-05/0.3571, allocations: 38.69 kB / 0.5624 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.3571, allocations: 8.891 kB / 0.5624 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.3573, allocations: 200.1 kB / 0.5626 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.3574, allocations: 8.375 kB / 0.5626 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.3574, allocations: 384 / 0.5626 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.3575, allocations: 63.95 kB / 0.5627 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.3576, allocations: 7.938 kB / 0.5627 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.3576, allocations: 0 / 0.5627 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.3576, allocations: 4 kB / 0.5627 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.567e-05/0.3577, allocations: 23.92 kB / 0.5627 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.3581, allocations: 292.8 kB / 0.563 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.3583, allocations: 46.55 kB / 0.5631 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.291e-05/0.3584, allocations: 12.86 kB / 0.5631 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.3584, allocations: 4.078 kB / 0.5631 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.3585, allocations: 34.56 kB / 0.5631 GB, free: 332 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.3585, allocations: 4 kB / 0.5631 GB, free: 328 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006263/0.3591, allocations: 149.4 kB / 0.5633 GB, free: 172 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.3592, allocations: 77.11 kB / 0.5633 GB, free: 76 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.3593, allocations: 148.3 kB / 0.5635 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.3594, allocations: 25.7 kB / 0.5635 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/0.3594, allocations: 100.1 kB / 0.5636 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.3595, allocations: 19.86 kB / 0.5636 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.3595, allocations: 17.72 kB / 0.5636 GB, free: 15.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3597, allocations: 326.8 kB / 0.5639 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.584e-05/0.3598, allocations: 19.98 kB / 0.564 GB, free: 15.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.441e-05/0.3598, allocations: 33.69 kB / 0.564 GB, free: 15.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.36, allocations: 56.86 kB / 0.564 GB, free: 15.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.36, allocations: 0 / 0.564 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002098/0.3602, allocations: 81.62 kB / 0.5641 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3602, allocations: 8 kB / 0.5641 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3602, allocations: 3.938 kB / 0.5641 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3602, allocations: 3.984 kB / 0.5641 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.185e-05/0.3603, allocations: 8 kB / 0.5641 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.3603, allocations: 0 / 0.5641 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.105e-05/0.3604, allocations: 15.92 kB / 0.5642 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.3604, allocations: 4 kB / 0.5642 GB, free: 15.17 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 (5): * Single equations (assignments): 5 * 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.0001041/0.3605, allocations: 117.8 kB / 0.5643 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.3605, allocations: 7.953 kB / 0.5643 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.3608, allocations: 94.48 kB / 0.5644 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3608, allocations: 0 / 0.5644 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3608, allocations: 12 kB / 0.5644 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3608, allocations: 3.984 kB / 0.5644 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.3613, allocations: 366.5 kB / 0.5647 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3613, allocations: 0 / 0.5647 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.852e-05/0.3614, allocations: 11.98 kB / 0.5648 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.427e-05/0.3614, allocations: 4 kB / 0.5648 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.3614, allocations: 0 / 0.5648 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3614, allocations: 0 / 0.5648 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3614, allocations: 3.938 kB / 0.5648 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.3617, allocations: 191.4 kB / 0.5649 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.711e-05/0.3617, allocations: 81.06 kB / 0.565 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.3618, allocations: 7.938 kB / 0.565 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.502e-05/0.3618, allocations: 3.984 kB / 0.565 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.3619, allocations: 7.938 kB / 0.565 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.3619, allocations: 0 / 0.565 GB, free: 14.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.362, allocations: 121.6 kB / 0.5652 GB, free: 14.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.362, allocations: 0 / 0.5652 GB, free: 14.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.3623, allocations: 35.88 kB / 0.5652 GB, free: 14.02 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 (5): * Single equations (assignments): 5 * 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.00228/0.3646, allocations: 1.099 MB / 0.5663 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002318/0.3648, allocations: 63.95 kB / 0.5663 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3648, allocations: 0 / 0.5663 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.5e-05/0.3649, allocations: 27.92 kB / 0.5664 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.3653, allocations: 19.92 kB / 0.5664 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.3673, allocations: 1.455 MB / 0.5678 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.3676, allocations: 0.6963 MB / 0.5685 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.276e-05/0.3677, allocations: 23.98 kB / 0.5685 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.879e-05/0.3678, allocations: 23.42 kB / 0.5685 GB, free: 10.66 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3678, allocations: 0 / 0.5685 GB, free: 10.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/0.3937, allocations: 3.26 MB / 0.5717 GB, free: 7.383 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.006/8.4, allocations: 7.922 kB / 0.5717 GB, free: 7.375 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test33_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.37807533601881] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.526782008004375 8.550415167 8.189366718 Calling exit ...