Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001369/0.001369, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001664/0.001664, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.47/1.47, allocations: 230.3 MB / 257.9 MB, free: 8.27 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.2328/0.2328, allocations: 46.89 MB / 361.3 MB, free: 4.469 MB / 286.1 MB " [Timeout remaining time 180] 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003472/0.003472, allocations: 71.88 kB / 0.4971 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3771, allocations: 66.03 MB / 0.5616 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.004032/0.3811, allocations: 1.756 MB / 0.5633 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.3832, allocations: 1.068 MB / 0.5644 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.84e-05/0.3833, allocations: 4 kB / 0.5644 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.3836, allocations: 35.78 kB / 0.5644 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000392/0.384, allocations: 99.53 kB / 0.5645 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.3842, allocations: 79.67 kB / 0.5646 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.3845, allocations: 111.7 kB / 0.5647 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3846, allocations: 11.98 kB / 0.5647 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.3847, allocations: 47.78 kB / 0.5647 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.3848, allocations: 47.77 kB / 0.5648 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.3848, allocations: 4 kB / 0.5648 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.3851, allocations: 115.9 kB / 0.5649 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.017e-05/0.3851, allocations: 23.86 kB / 0.5649 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.619e-05/0.3852, allocations: 39.73 kB / 0.5649 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.3856, allocations: 177.8 kB / 0.5651 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.944e-06/0.3856, allocations: 7.984 kB / 0.5651 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3856, allocations: 0 / 0.5651 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.3856, allocations: 0 / 0.5651 GB, free: 0.9844 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.0006592/0.3862, allocations: 357.4 kB / 0.5655 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.3863, allocations: 12.03 kB / 0.5655 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.644e-05/0.3863, allocations: 8.891 kB / 0.5655 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.3867, allocations: 166.3 kB / 0.5656 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.3867, allocations: 384 / 0.5656 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.3867, allocations: 4.375 kB / 0.5656 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.3869, allocations: 71.7 kB / 0.5657 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3869, allocations: 4 kB / 0.5657 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.3869, allocations: 0 / 0.5657 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3869, allocations: 0 / 0.5657 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.462e-05/0.387, allocations: 23.92 kB / 0.5657 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.3874, allocations: 244 kB / 0.566 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.3876, allocations: 66.62 kB / 0.566 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.759e-05/0.3877, allocations: 28.97 kB / 0.5661 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.3877, allocations: 3.984 kB / 0.5661 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.3879, allocations: 75.33 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.3879, allocations: 0 / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006213/0.3885, allocations: 209.2 kB / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/0.3886, allocations: 77.11 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.3888, allocations: 166.9 kB / 0.5666 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.3888, allocations: 25.7 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.494e-05/0.3889, allocations: 100.1 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.3889, allocations: 35.75 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.633e-05/0.389, allocations: 33.64 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.3891, allocations: 326.8 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.226e-05/0.3892, allocations: 27.98 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.53e-05/0.3893, allocations: 50.56 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.3894, allocations: 85.66 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3894, allocations: 4 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002258/0.3896, allocations: 121.6 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3897, allocations: 4 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3897, allocations: 0 / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3897, allocations: 4 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.3898, allocations: 23.98 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3898, allocations: 4.031 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.071e-05/0.3898, allocations: 7.938 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.3899, allocations: 8.031 kB / 0.5674 GB, free: 14.44 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 (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.0001234/0.39, allocations: 133.3 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.39, allocations: 15.91 kB / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/0.3903, allocations: 126.3 kB / 0.5677 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.3903, allocations: 0 / 0.5677 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3903, allocations: 0 / 0.5677 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.3903, allocations: 0 / 0.5677 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005401/0.3909, allocations: 402.3 kB / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3909, allocations: 0 / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.018e-05/0.3909, allocations: 19.92 kB / 0.5681 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3909, allocations: 0 / 0.5681 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.3909, allocations: 3.938 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3909, allocations: 4 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3909, allocations: 0 / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.3912, allocations: 220.3 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.264e-05/0.3912, allocations: 11.91 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.3913, allocations: 7.938 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.185e-05/0.3914, allocations: 4 kB / 0.5683 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.3914, allocations: 3.984 kB / 0.5683 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.3914, allocations: 8 kB / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.3915, allocations: 139.2 kB / 0.5684 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3915, allocations: 288 / 0.5685 GB, free: 13.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003124/0.3918, allocations: 47.88 kB / 0.5685 GB, free: 13.23 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 (10): * Single equations (assignments): 8 * 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.001994/0.3938, allocations: 0.5458 MB / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002474/0.3941, allocations: 79.83 kB / 0.5691 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3941, allocations: 4.062 kB / 0.5691 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.269e-05/0.3942, allocations: 31.98 kB / 0.5691 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.3946, allocations: 30.89 kB / 0.5692 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005427/0.3951, allocations: 219.2 kB / 0.5694 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.3955, allocations: 0.7046 MB / 0.5701 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.842e-05/0.3956, allocations: 32.39 kB / 0.5701 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.536e-05/0.3956, allocations: 15.44 kB / 0.5701 GB, free: 11.7 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3956, allocations: 0 / 0.5701 GB, free: 11.7 MB / 414.1 MB Notification: Performance of Templates: time 0.006311/0.402, allocations: 2.564 MB / 0.5726 GB, free: 9.152 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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: 5.268070410937071]