Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.001864/0.001864, allocations: 120.4 kB / 20.44 MB, free: 1.465 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.001672/0.001672, allocations: 208.1 kB / 23.74 MB, free: 4.699 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.484/1.484, allocations: 230.5 MB / 257.4 MB, free: 8.227 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2872/0.2872, allocations: 46.93 MB / 360.8 MB, free: 4.23 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003825/0.003825, allocations: 83.86 kB / 0.4963 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3489, allocations: 66.07 MB / 0.5608 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003292/0.3522, allocations: 1.701 MB / 0.5625 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.3539, allocations: 1.029 MB / 0.5635 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.665e-05/0.354, allocations: 4 kB / 0.5635 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.3543, allocations: 59.73 kB / 0.5635 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.3546, allocations: 107.5 kB / 0.5636 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.3548, allocations: 75.67 kB / 0.5637 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.355, allocations: 107.7 kB / 0.5638 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.355, allocations: 4.234 kB / 0.5638 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.3552, allocations: 51.77 kB / 0.5639 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.3553, allocations: 59.75 kB / 0.5639 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.3553, allocations: 4 kB / 0.5639 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.451e-05/0.3554, allocations: 27.98 kB / 0.5639 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.389e-05/0.3554, allocations: 19.92 kB / 0.564 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.958e-05/0.3555, allocations: 31.69 kB / 0.564 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.3557, allocations: 113.4 kB / 0.5641 GB, free: 0.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3557, allocations: 0 / 0.5641 GB, free: 0.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3557, allocations: 4 kB / 0.5641 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.3557, allocations: 0 / 0.5641 GB, free: 0.9141 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005183/0.3562, allocations: 333.6 kB / 0.5644 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.3562, allocations: 12.03 kB / 0.5644 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.62e-05/0.3563, allocations: 34.73 kB / 0.5645 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.3563, allocations: 12.84 kB / 0.5645 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.3566, allocations: 155 kB / 0.5646 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.3566, allocations: 384 / 0.5646 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.3566, allocations: 4.375 kB / 0.5646 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.3568, allocations: 57.73 kB / 0.5647 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3568, allocations: 0 / 0.5647 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.3568, allocations: 0 / 0.5647 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3568, allocations: 0 / 0.5647 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.431e-05/0.3568, allocations: 15.98 kB / 0.5647 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.357, allocations: 156.7 kB / 0.5648 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.3572, allocations: 50.67 kB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/0.3572, allocations: 20.73 kB / 0.5649 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.3573, allocations: 7.938 kB / 0.5649 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.3574, allocations: 67.33 kB / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.3574, allocations: 0 / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002752/0.3577, allocations: 93.62 kB / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.3577, allocations: 55.41 kB / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.3579, allocations: 202.2 kB / 0.5653 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.358, allocations: 25.7 kB / 0.5653 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.597e-05/0.358, allocations: 104.1 kB / 0.5654 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.3581, allocations: 15.84 kB / 0.5655 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.3581, allocations: 25.7 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3583, allocations: 318.8 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.07e-05/0.3583, allocations: 12 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-05/0.3584, allocations: 33.7 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.89e-05/0.3585, allocations: 41.7 kB / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3585, allocations: 0 / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001667/0.3586, allocations: 93.72 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.3586, allocations: 4 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3587, allocations: 0 / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3587, allocations: 4 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.54e-05/0.3587, allocations: 20.02 kB / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3587, allocations: 0 / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.454e-05/0.3588, allocations: 7.984 kB / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.3588, allocations: 0 / 0.566 GB, free: 14.77 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 (7): * Single equations (assignments): 7 * 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.0001052/0.3589, allocations: 125.8 kB / 0.5661 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.3589, allocations: 15.89 kB / 0.5661 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.3591, allocations: 86.77 kB / 0.5662 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3591, allocations: 0 / 0.5662 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3591, allocations: 4 kB / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3591, allocations: 0 / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.3593, allocations: 164.6 kB / 0.5664 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3593, allocations: 3.938 kB / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.062e-05/0.3593, allocations: 7.938 kB / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3593, allocations: 0 / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.3593, allocations: 4 kB / 0.5664 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3593, allocations: 3.938 kB / 0.5664 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.3593, allocations: 4 kB / 0.5664 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.3595, allocations: 109 kB / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.3595, allocations: 11.89 kB / 0.5665 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.3596, allocations: 4 kB / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.684e-05/0.3596, allocations: 3.984 kB / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.3596, allocations: 4 kB / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.3596, allocations: 192 / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.3598, allocations: 148.2 kB / 0.5667 GB, free: 13.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3598, allocations: 0 / 0.5667 GB, free: 13.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002088/0.36, allocations: 19.94 kB / 0.5667 GB, free: 13.97 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: 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 (5): * Single equations (assignments): 3 * 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.00191/0.3619, allocations: 0.9533 MB / 0.5676 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.362, allocations: 35.97 kB / 0.5677 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.362, allocations: 0 / 0.5677 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.904e-05/0.3621, allocations: 24 kB / 0.5677 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.3624, allocations: 36.14 kB / 0.5677 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.3641, allocations: 1.502 MB / 0.5692 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.3644, allocations: 0.7079 MB / 0.5699 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.404e-05/0.3645, allocations: 16.48 kB / 0.5699 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.211e-05/0.3646, allocations: 31.42 kB / 0.5699 GB, free: 10.67 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3646, allocations: 0 / 0.5699 GB, free: 10.67 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03155/0.3961, allocations: 3.293 MB / 0.5731 GB, free: 7.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.43, allocations: 23.69 kB / 0.5731 GB, free: 7.398 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.553015133133158]