Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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.00164/0.00164, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.002069/0.002069, allocations: 214 kB / 23.74 MB, free: 4.66 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.508/1.508, allocations: 230.5 MB / 257.4 MB, free: 8.02 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.2485/0.2485, allocations: 46.92 MB / 360.8 MB, free: 4.215 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.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002653/0.002653, allocations: 79.88 kB / 0.4963 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3823, allocations: 66.08 MB / 0.5608 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004186/0.3865, allocations: 2.382 MB / 0.5631 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002831/0.3893, allocations: 1.42 MB / 0.5645 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003155/0.3897, allocations: 15.88 kB / 0.5645 GB, free: 492 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000682/0.3903, allocations: 287 kB / 0.5648 GB, free: 204 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009552/0.3913, allocations: 346.6 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006566/0.3919, allocations: 215.5 kB / 0.5653 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001129/0.3931, allocations: 0.5647 MB / 0.5659 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.3933, allocations: 39.09 kB / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005935/0.3939, allocations: 262.9 kB / 0.5662 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004485/0.3943, allocations: 294.8 kB / 0.5665 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.274e-05/0.3944, allocations: 20 kB / 0.5665 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.3946, allocations: 51.98 kB / 0.5665 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.3947, allocations: 123.5 kB / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.395, allocations: 182.6 kB / 0.5668 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006786/0.3956, allocations: 421.8 kB / 0.5672 GB, free: 13.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3956, allocations: 0 / 0.5672 GB, free: 13.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3956, allocations: 4 kB / 0.5672 GB, free: 13.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.3957, allocations: 0 / 0.5672 GB, free: 13.7 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001435/0.3971, allocations: 0.7495 MB / 0.5679 GB, free: 12.92 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.3971, allocations: 8.031 kB / 0.568 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.881e-05/0.3972, allocations: 42.73 kB / 0.568 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.3973, allocations: 60.56 kB / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007602/0.3981, allocations: 361.1 kB / 0.5684 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.3981, allocations: 8.375 kB / 0.5684 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.192e-05/0.3982, allocations: 20.36 kB / 0.5684 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004384/0.3986, allocations: 205.9 kB / 0.5686 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.3986, allocations: 7.984 kB / 0.5686 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.3987, allocations: 4 kB / 0.5686 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.3987, allocations: 7.984 kB / 0.5686 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002739/0.3989, allocations: 103.9 kB / 0.5687 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.4, allocations: 0.8323 MB / 0.5696 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006577/0.4007, allocations: 281.2 kB / 0.5698 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.4009, allocations: 92.19 kB / 0.5699 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.4009, allocations: 4 kB / 0.5699 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000454/0.4014, allocations: 223.5 kB / 0.5701 GB, free: 10.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.473e-06/0.4014, allocations: 0 / 0.5701 GB, free: 10.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002222/0.4036, allocations: 1.046 MB / 0.5711 GB, free: 9.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.4037, allocations: 166.1 kB / 0.5713 GB, free: 9.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007765/0.4045, allocations: 0.6553 MB / 0.5719 GB, free: 8.562 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.4045, allocations: 41.7 kB / 0.572 GB, free: 8.516 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.4047, allocations: 233 kB / 0.5722 GB, free: 8.285 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.4049, allocations: 130.9 kB / 0.5723 GB, free: 8.156 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.405, allocations: 70.14 kB / 0.5724 GB, free: 8.082 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002188/0.4052, allocations: 374.8 kB / 0.5728 GB, free: 7.707 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.4054, allocations: 104.9 kB / 0.5729 GB, free: 7.605 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.4057, allocations: 176.9 kB / 0.573 GB, free: 7.406 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005538/0.4063, allocations: 304.7 kB / 0.5733 GB, free: 7.078 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4063, allocations: 4 kB / 0.5733 GB, free: 7.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007409/0.407, allocations: 408.9 kB / 0.5737 GB, free: 6.668 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4071, allocations: 4 kB / 0.5737 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.4071, allocations: 4 kB / 0.5737 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/0.4071, allocations: 4 kB / 0.5737 GB, free: 6.656 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.4074, allocations: 87.98 kB / 0.5738 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.4074, allocations: 4.391 kB / 0.5738 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.4076, allocations: 23.98 kB / 0.5738 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.4077, allocations: 16 kB / 0.5738 GB, free: 6.527 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.000255/0.4079, allocations: 201.7 kB / 0.574 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.408, allocations: 71.52 kB / 0.5741 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009416/0.409, allocations: 469.6 kB / 0.5746 GB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.409, allocations: 4 kB / 0.5746 GB, free: 5.781 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.409, allocations: 4 kB / 0.5746 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.409, allocations: 3.984 kB / 0.5746 GB, free: 5.773 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.4107, allocations: 1.249 MB / 0.5758 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.4107, allocations: 4 kB / 0.5758 GB, free: 4.453 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.4109, allocations: 47.92 kB / 0.5758 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.4109, allocations: 4 kB / 0.5758 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/0.4109, allocations: 15.98 kB / 0.5759 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/0.4109, allocations: 11.88 kB / 0.5759 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.4109, allocations: 8.156 kB / 0.5759 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009415/0.4119, allocations: 0.8127 MB / 0.5767 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.213e-05/0.412, allocations: 51.62 kB / 0.5767 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.034e-05/0.412, allocations: 12 kB / 0.5767 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003426/0.4124, allocations: 23.91 kB / 0.5768 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.17e-05/0.4125, allocations: 35.95 kB / 0.5768 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.803e-05/0.4125, allocations: 19.98 kB / 0.5768 GB, free: 3.379 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005653/0.4131, allocations: 490.8 kB / 0.5773 GB, free: 2.902 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4131, allocations: 0 / 0.5773 GB, free: 2.902 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005701/0.4136, allocations: 87.92 kB / 0.5774 GB, free: 2.816 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002925/0.4166, allocations: 1.739 MB / 0.5791 GB, free: 1.199 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006237/0.4172, allocations: 272.3 kB / 0.5793 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4172, allocations: 0 / 0.5793 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.4175, allocations: 135.9 kB / 0.5794 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.4185, allocations: 140.8 kB / 0.5796 GB, free: 0.668 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006067/0.4246, allocations: 4.538 MB / 0.584 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006342/0.4252, allocations: 0.8589 MB / 0.5848 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002603/0.4255, allocations: 92.11 kB / 0.5849 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/0.4258, allocations: 183.4 kB / 0.5851 GB, free: 10.77 MB / 430.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4258, allocations: 3.938 kB / 0.5851 GB, free: 10.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04351/0.4693, allocations: 11.28 MB / 0.5961 GB, free: 15.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.22, allocations: 5.125 kB / 0.5961 GB, free: 15.55 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --stepSize=0.799361 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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: 15.504582063993439]