Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.001391/0.001391, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001543/0.001543, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.434/1.434, allocations: 230.3 MB / 258 MB, free: 8.238 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.2302/0.2302, allocations: 46.9 MB / 361.3 MB, free: 4.438 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002409/0.002409, allocations: 75.88 kB / 0.4971 GB, free: 7.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3391, allocations: 66.02 MB / 0.5616 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003072/0.3421, allocations: 1.763 MB / 0.5633 GB, free: 3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.3438, allocations: 1.037 MB / 0.5643 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.096e-05/0.3438, allocations: 3.938 kB / 0.5643 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.3441, allocations: 47.75 kB / 0.5644 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.3445, allocations: 95.55 kB / 0.5645 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.3447, allocations: 83.67 kB / 0.5645 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.3448, allocations: 103.7 kB / 0.5646 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.031e-05/0.3449, allocations: 8 kB / 0.5647 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.159e-05/0.345, allocations: 47.78 kB / 0.5647 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.511e-05/0.3451, allocations: 39.72 kB / 0.5647 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.3451, allocations: 4 kB / 0.5647 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.83e-05/0.3452, allocations: 39.98 kB / 0.5648 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.599e-05/0.3452, allocations: 19.92 kB / 0.5648 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.678e-05/0.3453, allocations: 39.72 kB / 0.5648 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.3455, allocations: 126.3 kB / 0.565 GB, free: 1.312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.3455, allocations: 4 kB / 0.565 GB, free: 1.309 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3455, allocations: 0 / 0.565 GB, free: 1.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.3455, allocations: 0 / 0.565 GB, free: 1.309 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.0004984/0.346, allocations: 353.5 kB / 0.5653 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.346, allocations: 8.031 kB / 0.5653 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.3461, allocations: 8.891 kB / 0.5653 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.3463, allocations: 147 kB / 0.5655 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.3463, allocations: 4.375 kB / 0.5655 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.3464, allocations: 4.375 kB / 0.5655 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.3465, allocations: 57.98 kB / 0.5655 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3465, allocations: 0 / 0.5655 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3465, allocations: 4 kB / 0.5655 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.3465, allocations: 4 kB / 0.5655 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.335e-05/0.3466, allocations: 19.92 kB / 0.5655 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.3469, allocations: 263.9 kB / 0.5658 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.3471, allocations: 58.67 kB / 0.5659 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.3472, allocations: 20.84 kB / 0.5659 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.3472, allocations: 0 / 0.5659 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001387/0.3473, allocations: 67.33 kB / 0.5659 GB, free: 188 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3473, allocations: 0 / 0.5659 GB, free: 188 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005103/0.3478, allocations: 181.3 kB / 0.5661 GB, free: 0 / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.3479, allocations: 51.41 kB / 0.5662 GB, free: 15.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.3481, allocations: 198.3 kB / 0.5663 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.3481, allocations: 25.7 kB / 0.5664 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.3482, allocations: 104.1 kB / 0.5665 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.3482, allocations: 31.72 kB / 0.5665 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.3482, allocations: 17.72 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3484, allocations: 330.8 kB / 0.5668 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.859e-05/0.3484, allocations: 23.98 kB / 0.5669 GB, free: 15.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.589e-05/0.3485, allocations: 37.64 kB / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.3486, allocations: 66.02 kB / 0.567 GB, free: 15.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3486, allocations: 0 / 0.567 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001897/0.3488, allocations: 97.58 kB / 0.567 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.3488, allocations: 14.12 kB / 0.5671 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3488, allocations: 4.031 kB / 0.5671 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.3488, allocations: 4 kB / 0.5671 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.713e-05/0.3489, allocations: 19.98 kB / 0.5671 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3489, allocations: 4 kB / 0.5671 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.092e-05/0.349, allocations: 0 / 0.5671 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.349, allocations: 4 kB / 0.5671 GB, free: 14.93 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.0001004/0.3491, allocations: 129.8 kB / 0.5672 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.3491, allocations: 11.91 kB / 0.5672 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.3494, allocations: 123.1 kB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3494, allocations: 0 / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.3494, allocations: 0 / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3494, allocations: 0 / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004349/0.3498, allocations: 366.3 kB / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3498, allocations: 0 / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.717e-05/0.3498, allocations: 15.98 kB / 0.5677 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3498, allocations: 0 / 0.5677 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.3498, allocations: 4 kB / 0.5677 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3499, allocations: 7.969 kB / 0.5677 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3499, allocations: 0 / 0.5677 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.3501, allocations: 200.2 kB / 0.5679 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.3501, allocations: 11.95 kB / 0.5679 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.3501, allocations: 11.97 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.892e-05/0.3502, allocations: 3.938 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.3502, allocations: 11.98 kB / 0.568 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.3503, allocations: 11.94 kB / 0.568 GB, free: 13.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.3504, allocations: 148.2 kB / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3504, allocations: 0 / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.3506, allocations: 23.94 kB / 0.5681 GB, free: 13.77 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.001589/0.3522, allocations: 445.9 kB / 0.5686 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.3524, allocations: 59.89 kB / 0.5686 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3524, allocations: 0 / 0.5686 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.886e-05/0.3525, allocations: 27.92 kB / 0.5686 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.3528, allocations: 39.48 kB / 0.5687 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.3533, allocations: 238.8 kB / 0.5689 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.3536, allocations: 0.7118 MB / 0.5696 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.046e-05/0.3536, allocations: 17.27 kB / 0.5696 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.3536, allocations: 15.44 kB / 0.5696 GB, free: 12.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3536, allocations: 0 / 0.5696 GB, free: 12.34 MB / 414.1 MB Notification: Performance of Templates: time 0.004706/0.3583, allocations: 1.766 MB / 0.5714 GB, free: 10.59 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.047254940494895]