Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001089/0.001089, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001278, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.219/0.219, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 79.88 kB / 482.1 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3185, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003484/0.3221, allocations: 1.731 MB / 0.5334 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.3241, allocations: 1.02 MB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.903e-05/0.3242, allocations: 1.281 kB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000363/0.3246, allocations: 41.45 kB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000405/0.3251, allocations: 95.88 kB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.3253, allocations: 81.72 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.3256, allocations: 97.48 kB / 0.5347 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.3258, allocations: 19.48 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.3259, allocations: 35.3 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.777e-05/0.326, allocations: 42.48 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.326, allocations: 4.125 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.3261, allocations: 39.48 kB / 0.5349 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.887e-05/0.3262, allocations: 22.73 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.541e-05/0.3262, allocations: 35.98 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.3265, allocations: 120.7 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3265, allocations: 0 / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3266, allocations: 4 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3266, allocations: 0 / 0.535 GB, free: 11.07 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.0005938/0.3272, allocations: 401.8 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3272, allocations: 9.625 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.818e-05/0.3273, allocations: 18.23 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.3276, allocations: 215.1 kB / 0.5357 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.3277, allocations: 1.75 kB / 0.5357 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.3277, allocations: 6.875 kB / 0.5357 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.3278, allocations: 58.05 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3279, allocations: 0 / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3279, allocations: 1.375 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3279, allocations: 0 / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.615e-05/0.328, allocations: 22.98 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/0.3284, allocations: 285.5 kB / 0.536 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.3286, allocations: 65.8 kB / 0.5361 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.249e-05/0.3286, allocations: 18.48 kB / 0.5361 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.754e-05/0.3287, allocations: 7.984 kB / 0.5361 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.3289, allocations: 62.52 kB / 0.5362 GB, free: 9.906 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.3289, allocations: 0 / 0.5362 GB, free: 9.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005624/0.3294, allocations: 172.8 kB / 0.5363 GB, free: 9.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.3295, allocations: 60.42 kB / 0.5364 GB, free: 9.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.3298, allocations: 182.5 kB / 0.5366 GB, free: 9.594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.3298, allocations: 30.7 kB / 0.5366 GB, free: 9.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.3299, allocations: 104.2 kB / 0.5367 GB, free: 9.457 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.3299, allocations: 24.12 kB / 0.5367 GB, free: 9.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.341e-05/0.3299, allocations: 28.33 kB / 0.5367 GB, free: 9.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.3301, allocations: 330.5 kB / 0.537 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.266e-05/0.3301, allocations: 17.86 kB / 0.5371 GB, free: 9.074 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.719e-05/0.3302, allocations: 40.39 kB / 0.5371 GB, free: 9.043 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.3303, allocations: 62.95 kB / 0.5372 GB, free: 9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3303, allocations: 0 / 0.5372 GB, free: 9 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002346/0.3306, allocations: 99.45 kB / 0.5373 GB, free: 8.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.3306, allocations: 5.25 kB / 0.5373 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3306, allocations: 1.281 kB / 0.5373 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3306, allocations: 5.25 kB / 0.5373 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.93e-05/0.3307, allocations: 20.78 kB / 0.5373 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.3307, allocations: 5.062 kB / 0.5373 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.127e-05/0.3308, allocations: 10.05 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.3309, allocations: 2.188 kB / 0.5373 GB, free: 8.914 MB / 398.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 9.06e-05/0.331, allocations: 122.6 kB / 0.5374 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.331, allocations: 13.12 kB / 0.5374 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.331, allocations: 17.89 kB / 0.5375 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3311, allocations: 1.156 kB / 0.5375 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3311, allocations: 5.062 kB / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3311, allocations: 3.938 kB / 0.5375 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004333/0.3315, allocations: 389.6 kB / 0.5378 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3315, allocations: 0 / 0.5378 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.821e-05/0.3316, allocations: 11.83 kB / 0.5378 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3316, allocations: 1.094 kB / 0.5378 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.3317, allocations: 10.31 kB / 0.5379 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3317, allocations: 0 / 0.5379 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3317, allocations: 4.844 kB / 0.5379 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.3319, allocations: 200.2 kB / 0.5381 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/0.332, allocations: 92.41 kB / 0.5381 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.332, allocations: 5.062 kB / 0.5381 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.835e-05/0.3321, allocations: 2.75 kB / 0.5381 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.3321, allocations: 11.36 kB / 0.5382 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.3322, allocations: 11.36 kB / 0.5382 GB, free: 8.066 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.3323, allocations: 135.9 kB / 0.5383 GB, free: 7.969 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3323, allocations: 0 / 0.5383 GB, free: 7.969 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000319/0.3326, allocations: 32.58 kB / 0.5383 GB, free: 7.953 MB / 398.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.001083/0.3337, allocations: 449.2 kB / 0.5388 GB, free: 7.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.3339, allocations: 66.19 kB / 0.5388 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3339, allocations: 0 / 0.5388 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.858e-05/0.334, allocations: 34.11 kB / 0.5389 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.3344, allocations: 35.89 kB / 0.5389 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005156/0.3349, allocations: 246.7 kB / 0.5391 GB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.3352, allocations: 0.7001 MB / 0.5398 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.3352, allocations: 19.64 kB / 0.5398 GB, free: 6.73 MB / 398.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3352, allocations: 0 / 0.5398 GB, free: 6.73 MB / 398.1 MB Notification: Performance of Templates: time 0.004454/0.3397, allocations: 1.928 MB / 0.5417 GB, free: 5.742 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches