Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.001342/0.001342, 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.001448/0.001448, 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.457/1.457, allocations: 230.3 MB / 258 MB, free: 8.223 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.2331/0.2331, allocations: 46.9 MB / 361.3 MB, free: 4.445 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002361/0.002361, allocations: 76.11 kB / 0.4971 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4111, allocations: 66.03 MB / 0.5616 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003359/0.4145, allocations: 1.741 MB / 0.5633 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002951/0.4174, allocations: 1.737 MB / 0.565 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.154e-05/0.4175, allocations: 3.938 kB / 0.565 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.4178, allocations: 43.77 kB / 0.565 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003673/0.4182, allocations: 99.53 kB / 0.5651 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.4184, allocations: 75.75 kB / 0.5652 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.4186, allocations: 111.7 kB / 0.5653 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.4187, allocations: 15.92 kB / 0.5653 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.4189, allocations: 39.8 kB / 0.5654 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.419, allocations: 46.83 kB / 0.5654 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.419, allocations: 4 kB / 0.5654 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.4192, allocations: 123.8 kB / 0.5655 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.797e-05/0.4193, allocations: 19.91 kB / 0.5656 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.195e-05/0.4194, allocations: 31.81 kB / 0.5656 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.4197, allocations: 177.8 kB / 0.5658 GB, free: 336 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4197, allocations: 0 / 0.5658 GB, free: 336 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4197, allocations: 4 kB / 0.5658 GB, free: 332 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.4197, allocations: 4 kB / 0.5658 GB, free: 328 kB / 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.0006011/0.4203, allocations: 349.5 kB / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.4203, allocations: 8.031 kB / 0.5661 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.4204, allocations: 16.84 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.4207, allocations: 154.5 kB / 0.5663 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.4207, allocations: 384 / 0.5663 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.4207, allocations: 8.125 kB / 0.5663 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.4209, allocations: 79.31 kB / 0.5663 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.4209, allocations: 7.922 kB / 0.5664 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.4209, allocations: 4 kB / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-06/0.4209, allocations: 0 / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.553e-05/0.421, allocations: 19.98 kB / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.4213, allocations: 252 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.4215, allocations: 62.61 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.07e-05/0.4215, allocations: 16.86 kB / 0.5667 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.4216, allocations: 0 / 0.5667 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.4217, allocations: 67.39 kB / 0.5668 GB, free: 15.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.4217, allocations: 0 / 0.5668 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005118/0.4222, allocations: 177.3 kB / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.4223, allocations: 77.11 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.4225, allocations: 162.5 kB / 0.5672 GB, free: 14.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.4225, allocations: 29.7 kB / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/0.4225, allocations: 100.1 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.4226, allocations: 31.73 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.4226, allocations: 21.72 kB / 0.5673 GB, free: 14.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4228, allocations: 326.8 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.23e-05/0.4228, allocations: 27.92 kB / 0.5677 GB, free: 14.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.455e-05/0.4229, allocations: 46.55 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.423, allocations: 49.72 kB / 0.5678 GB, free: 14.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.423, allocations: 0 / 0.5678 GB, free: 14.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002042/0.4232, allocations: 105.8 kB / 0.5679 GB, free: 13.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.4232, allocations: 9.938 kB / 0.5679 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.4232, allocations: 3.938 kB / 0.5679 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.4233, allocations: 0 / 0.5679 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.696e-05/0.4233, allocations: 19.98 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.4233, allocations: 0 / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.971e-05/0.4234, allocations: 4.312 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.4234, allocations: 8 kB / 0.5679 GB, free: 13.91 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.000111/0.4235, allocations: 121.8 kB / 0.568 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.4235, allocations: 7.953 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002545/0.4238, allocations: 122.5 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4238, allocations: 0 / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.4238, allocations: 0 / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.4238, allocations: 3.938 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005629/0.4244, allocations: 374.3 kB / 0.5685 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4244, allocations: 0 / 0.5685 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/0.4244, allocations: 15.92 kB / 0.5685 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4244, allocations: 4.031 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.4244, allocations: 7.938 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4244, allocations: 0 / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4244, allocations: 0 / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.4247, allocations: 200.3 kB / 0.5687 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.4247, allocations: 7.953 kB / 0.5687 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.4247, allocations: 7.922 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.733e-05/0.4248, allocations: 12 kB / 0.5687 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.4249, allocations: 7.984 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.4249, allocations: 0 / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.425, allocations: 131.9 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.425, allocations: 0 / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003005/0.4253, allocations: 43.86 kB / 0.5689 GB, free: 12.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.001901/0.4272, allocations: 0.541 MB / 0.5695 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.4274, allocations: 55.92 kB / 0.5695 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4274, allocations: 3.938 kB / 0.5695 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.392e-05/0.4275, allocations: 27.98 kB / 0.5695 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.4278, allocations: 23.97 kB / 0.5696 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004611/0.4282, allocations: 210.8 kB / 0.5698 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.4286, allocations: 0.7001 MB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.095e-05/0.4286, allocations: 25.25 kB / 0.5705 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.4287, allocations: 23.42 kB / 0.5705 GB, free: 11.29 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4287, allocations: 4 kB / 0.5705 GB, free: 11.29 MB / 414.1 MB Notification: Performance of Templates: time 0.006014/0.4347, allocations: 2.385 MB / 0.5728 GB, free: 8.918 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.258736355230212]