Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 106.6 kB / 18.45 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 191.2 kB / 19.39 MB, free: 3.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1935/0.1935, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.91 kB / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3173, allocations: 60.83 MB / 0.5197 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002897/0.3202, allocations: 1.706 MB / 0.5213 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.3217, allocations: 0.8706 MB / 0.5222 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.3218, allocations: 4.844 kB / 0.5222 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002826/0.3221, allocations: 35.45 kB / 0.5222 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000249/0.3224, allocations: 64.45 kB / 0.5223 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.3227, allocations: 104.3 kB / 0.5224 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.323, allocations: 101.3 kB / 0.5225 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.676e-05/0.3231, allocations: 11.08 kB / 0.5225 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.3232, allocations: 42.66 kB / 0.5225 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.763e-05/0.3233, allocations: 33.58 kB / 0.5226 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.3233, allocations: 3.25 kB / 0.5226 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.3234, allocations: 43.73 kB / 0.5226 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.691e-05/0.3235, allocations: 22.27 kB / 0.5226 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.855e-05/0.3236, allocations: 37.27 kB / 0.5227 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.3238, allocations: 108.4 kB / 0.5228 GB, free: 1.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3238, allocations: 4.453 kB / 0.5228 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3238, allocations: 0 / 0.5228 GB, free: 1.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3238, allocations: 0 / 0.5228 GB, free: 1.555 MB / 382.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.0004727/0.3243, allocations: 418 kB / 0.5232 GB, free: 1.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3244, allocations: 8.688 kB / 0.5232 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.474e-05/0.3244, allocations: 11.33 kB / 0.5232 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.3247, allocations: 202.3 kB / 0.5234 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.3247, allocations: 5.875 kB / 0.5234 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.3247, allocations: 6.766 kB / 0.5234 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.3249, allocations: 54.03 kB / 0.5234 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3249, allocations: 3.938 kB / 0.5234 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3249, allocations: 1.891 kB / 0.5234 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3249, allocations: 3.938 kB / 0.5235 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.185e-05/0.325, allocations: 18.33 kB / 0.5235 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.3253, allocations: 298.4 kB / 0.5238 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.3255, allocations: 56.03 kB / 0.5238 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.979e-05/0.3255, allocations: 24.05 kB / 0.5238 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.3256, allocations: 1.156 kB / 0.5238 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/0.3257, allocations: 69.83 kB / 0.5239 GB, free: 468 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.794e-06/0.3257, allocations: 5.094 kB / 0.5239 GB, free: 464 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005322/0.3263, allocations: 172.7 kB / 0.5241 GB, free: 376 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/0.3263, allocations: 56.44 kB / 0.5241 GB, free: 308 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.3265, allocations: 186.7 kB / 0.5243 GB, free: 176 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.3265, allocations: 26.8 kB / 0.5243 GB, free: 144 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/0.3265, allocations: 99.33 kB / 0.5244 GB, free: 48 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.3266, allocations: 25.66 kB / 0.5244 GB, free: 28 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.3266, allocations: 29.91 kB / 0.5245 GB, free: 0 / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.3267, allocations: 326.8 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.24e-05/0.3268, allocations: 21.8 kB / 0.5248 GB, free: 15.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.588e-05/0.3269, allocations: 35.64 kB / 0.5248 GB, free: 15.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.327, allocations: 57.92 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.327, allocations: 4 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002549/0.3273, allocations: 109.1 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.3273, allocations: 5.719 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3273, allocations: 0.75 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3273, allocations: 1.094 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.853e-05/0.3274, allocations: 15.23 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.3274, allocations: 1.906 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.3275, allocations: 2.266 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.3275, allocations: 7.828 kB / 0.525 GB, free: 15.54 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 0.0001113/0.3276, allocations: 128.5 kB / 0.5252 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.3277, allocations: 13.5 kB / 0.5252 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.665e-05/0.3277, allocations: 16.06 kB / 0.5252 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3277, allocations: 4.828 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3277, allocations: 0.9375 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.3278, allocations: 84.61 kB / 0.5253 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.3278, allocations: 5.859 kB / 0.5253 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.527e-05/0.3279, allocations: 7.344 kB / 0.5253 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.3279, allocations: 8.109 kB / 0.5253 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002338/0.3281, allocations: 180 kB / 0.5255 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002665/0.3284, allocations: 275.2 kB / 0.5257 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.137e-05/0.3285, allocations: 30.19 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.3286, allocations: 143 kB / 0.5259 GB, free: 14.81 MB / 398.1 MB Notification: Performance of Backend: time 4.11e-07/0.3286, allocations: 0 / 0.5259 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.33, allocations: 0.49 MB / 0.5264 GB, free: 14.6 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005847/0.3306, allocations: 0.6592 MB / 0.527 GB, free: 13.97 MB / 398.1 MB Notification: Performance of Templates: time 0.005061/0.3357, allocations: 1.752 MB / 0.5287 GB, free: 13.45 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches