Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.001741/0.001741, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.00165/0.00165, allocations: 213.9 kB / 24.54 MB, free: 4.016 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 / 258 MB, free: 8.246 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.2293/0.2293, allocations: 46.9 MB / 361.3 MB, free: 4.453 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003976/0.003976, allocations: 75.88 kB / 0.4971 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.387, allocations: 66.03 MB / 0.5616 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003679/0.3907, allocations: 1.764 MB / 0.5633 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.3925, allocations: 1.041 MB / 0.5643 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.502e-05/0.3926, allocations: 0 / 0.5643 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.393, allocations: 55.69 kB / 0.5644 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.3933, allocations: 103.5 kB / 0.5645 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.3936, allocations: 79.67 kB / 0.5646 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.3938, allocations: 107.7 kB / 0.5647 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.3939, allocations: 8 kB / 0.5647 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.394, allocations: 43.73 kB / 0.5647 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.729e-05/0.3941, allocations: 39.77 kB / 0.5648 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.3941, allocations: 4 kB / 0.5648 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.3943, allocations: 39.98 kB / 0.5648 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.345e-05/0.3943, allocations: 23.92 kB / 0.5648 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.34e-05/0.3944, allocations: 43.67 kB / 0.5649 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.3946, allocations: 134 kB / 0.565 GB, free: 1.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3946, allocations: 0 / 0.565 GB, free: 1.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3946, allocations: 4 kB / 0.565 GB, free: 1.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.3947, allocations: 0 / 0.565 GB, free: 1.117 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.0006312/0.3953, allocations: 365.3 kB / 0.5653 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.3953, allocations: 8.031 kB / 0.5653 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/0.3954, allocations: 12.89 kB / 0.5654 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.3957, allocations: 155.1 kB / 0.5655 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.3957, allocations: 4.359 kB / 0.5655 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.3957, allocations: 4.375 kB / 0.5655 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.3959, allocations: 61.98 kB / 0.5656 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3959, allocations: 3.938 kB / 0.5656 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.3959, allocations: 0 / 0.5656 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3959, allocations: 0 / 0.5656 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.966e-05/0.396, allocations: 23.92 kB / 0.5656 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.3964, allocations: 263.9 kB / 0.5659 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.3966, allocations: 62.67 kB / 0.5659 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.881e-05/0.3966, allocations: 16.86 kB / 0.5659 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.3967, allocations: 0 / 0.5659 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.3968, allocations: 71.42 kB / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3968, allocations: 0 / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005649/0.3974, allocations: 177.3 kB / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.3975, allocations: 55.41 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.3977, allocations: 243 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.3977, allocations: 25.7 kB / 0.5665 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.586e-05/0.3978, allocations: 116.1 kB / 0.5666 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.3978, allocations: 19.84 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.3979, allocations: 25.72 kB / 0.5666 GB, free: 15.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.398, allocations: 330.8 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.939e-05/0.3981, allocations: 20 kB / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.197e-05/0.3982, allocations: 41.64 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.3983, allocations: 65.64 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3983, allocations: 0 / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001881/0.3985, allocations: 93.59 kB / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3985, allocations: 11.98 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3985, allocations: 0 / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3985, allocations: 4.031 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.949e-05/0.3986, allocations: 20.31 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.3986, allocations: 0 / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.482e-05/0.3987, allocations: 4 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.3987, allocations: 11.98 kB / 0.5672 GB, free: 14.64 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 (10): * Single equations (assignments): 10 * 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.0001418/0.3988, allocations: 129.8 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.3989, allocations: 15.91 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.3991, allocations: 118.9 kB / 0.5675 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3991, allocations: 8 kB / 0.5675 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3991, allocations: 3.984 kB / 0.5675 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3991, allocations: 0 / 0.5675 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004767/0.3996, allocations: 374.2 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3996, allocations: 4 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.199e-05/0.3996, allocations: 7.984 kB / 0.5678 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.3996, allocations: 7.984 kB / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.3997, allocations: 0 / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.3997, allocations: 3.938 kB / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3997, allocations: 8.031 kB / 0.5679 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.3999, allocations: 208.5 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.3999, allocations: 11.91 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.4, allocations: 0 / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.402e-05/0.4, allocations: 11.92 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.4001, allocations: 8 kB / 0.5681 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.4001, allocations: 7.984 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001793/0.4003, allocations: 175.2 kB / 0.5683 GB, free: 13.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4003, allocations: 0 / 0.5683 GB, free: 13.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.4005, allocations: 19.98 kB / 0.5683 GB, free: 13.45 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 (8): * Single equations (assignments): 6 * 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.001653/0.4022, allocations: 454.8 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001865/0.4024, allocations: 51.92 kB / 0.5688 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4024, allocations: 0 / 0.5688 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.8e-05/0.4024, allocations: 27.92 kB / 0.5688 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.4028, allocations: 39.28 kB / 0.5688 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005477/0.4034, allocations: 267.3 kB / 0.5691 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.4038, allocations: 0.7119 MB / 0.5698 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.398e-05/0.4038, allocations: 17.28 kB / 0.5698 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.4039, allocations: 19.42 kB / 0.5698 GB, free: 11.98 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4039, allocations: 0 / 0.5698 GB, free: 11.98 MB / 414.1 MB Notification: Performance of Templates: time 0.005381/0.4092, allocations: 1.79 MB / 0.5716 GB, free: 10.21 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.208482313901186]