Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 109.4 kB / 18.45 MB, free: 4.574 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.002027/0.002028, allocations: 184.3 kB / 19.39 MB, free: 3.648 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.338/1.338, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2075/0.2075, allocations: 44.19 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 64.08 kB / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3103, allocations: 60.82 MB / 0.5197 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002743/0.3131, allocations: 1.706 MB / 0.5213 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.3143, allocations: 0.8717 MB / 0.5222 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.026e-05/0.3144, allocations: 5.188 kB / 0.5222 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.3147, allocations: 34.64 kB / 0.5222 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002233/0.3149, allocations: 59.86 kB / 0.5223 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.3153, allocations: 113.1 kB / 0.5224 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.3154, allocations: 100.7 kB / 0.5225 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.006e-05/0.3155, allocations: 15.66 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.134e-05/0.3156, allocations: 42.17 kB / 0.5225 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.803e-05/0.3157, allocations: 33.28 kB / 0.5226 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.3157, allocations: 3.156 kB / 0.5226 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.3159, allocations: 43.23 kB / 0.5226 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.065e-05/0.3159, allocations: 18.5 kB / 0.5226 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.316, allocations: 32.41 kB / 0.5227 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.3162, allocations: 113.7 kB / 0.5228 GB, free: 1.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3162, allocations: 3.938 kB / 0.5228 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3162, allocations: 4 kB / 0.5228 GB, free: 1.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.3162, allocations: 0 / 0.5228 GB, free: 1.551 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.0004188/0.3166, allocations: 414.2 kB / 0.5232 GB, free: 1.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.3167, allocations: 9.562 kB / 0.5232 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.3167, allocations: 10.11 kB / 0.5232 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.3169, allocations: 207 kB / 0.5234 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.317, allocations: 1.688 kB / 0.5234 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.317, allocations: 7.406 kB / 0.5234 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.3171, allocations: 58.34 kB / 0.5234 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3171, allocations: 3.938 kB / 0.5234 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3172, allocations: 0.6094 kB / 0.5235 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3172, allocations: 4.938 kB / 0.5235 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.19e-05/0.3172, allocations: 17.19 kB / 0.5235 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.3175, allocations: 290.8 kB / 0.5237 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.3177, allocations: 65.06 kB / 0.5238 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.78e-05/0.3178, allocations: 23.16 kB / 0.5238 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.3178, allocations: 1.781 kB / 0.5238 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001223/0.3179, allocations: 65 kB / 0.5239 GB, free: 468 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/0.3179, allocations: 4.922 kB / 0.5239 GB, free: 464 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004832/0.3184, allocations: 172.5 kB / 0.5241 GB, free: 376 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.879e-05/0.3184, allocations: 60.59 kB / 0.5241 GB, free: 304 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.3186, allocations: 186.5 kB / 0.5243 GB, free: 172 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.3186, allocations: 27.55 kB / 0.5243 GB, free: 140 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.3186, allocations: 103.4 kB / 0.5244 GB, free: 40 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.3187, allocations: 26.47 kB / 0.5245 GB, free: 20 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.3187, allocations: 21.33 kB / 0.5245 GB, free: 0 / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3189, allocations: 326.6 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.964e-05/0.319, allocations: 21.45 kB / 0.5248 GB, free: 15.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.473e-05/0.319, allocations: 40.14 kB / 0.5248 GB, free: 15.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.3191, allocations: 56.55 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3192, allocations: 1.156 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001879/0.3193, allocations: 114 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.3194, allocations: 7.125 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3194, allocations: 1.469 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3194, allocations: 4.781 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.216e-05/0.3195, allocations: 16.36 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3195, allocations: 0.5625 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.3195, allocations: 3.453 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.3196, allocations: 11.23 kB / 0.525 GB, free: 15.53 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.153e-05/0.3197, allocations: 120.3 kB / 0.5252 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.3197, allocations: 14.36 kB / 0.5252 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.318e-05/0.3197, allocations: 15.52 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3197, allocations: 8.875 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3197, allocations: 0 / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.3198, allocations: 84.41 kB / 0.5253 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.3198, allocations: 10.91 kB / 0.5253 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.163e-05/0.3199, allocations: 1.844 kB / 0.5253 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.3199, allocations: 9.672 kB / 0.5253 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000212/0.3201, allocations: 173.1 kB / 0.5255 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002449/0.3204, allocations: 284.4 kB / 0.5257 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.549e-05/0.3205, allocations: 25.95 kB / 0.5258 GB, free: 14.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001164/0.3206, allocations: 143.4 kB / 0.5259 GB, free: 14.8 MB / 398.1 MB Notification: Performance of Backend: time 2.1e-07/0.3206, allocations: 0 / 0.5259 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.3219, allocations: 484.6 kB / 0.5264 GB, free: 14.61 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006311/0.3226, allocations: 0.6588 MB / 0.527 GB, free: 13.97 MB / 398.1 MB Notification: Performance of Templates: time 0.004541/0.3271, allocations: 1.763 MB / 0.5287 GB, free: 13.45 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches