Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 113.9 kB / 18.46 MB, free: 4.594 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.001384/0.001384, allocations: 182.1 kB / 19.38 MB, free: 3.68 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.357/1.357, 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.2182/0.2182, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 60.14 kB / 471.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.326, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.00237/0.3284, allocations: 1.666 MB / 0.5213 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.3294, allocations: 0.8529 MB / 0.5221 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.752e-05/0.3295, allocations: 5.156 kB / 0.5221 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002715/0.3298, allocations: 56.69 kB / 0.5222 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.33, allocations: 70.66 kB / 0.5222 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.3302, allocations: 99.7 kB / 0.5223 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.3304, allocations: 103.8 kB / 0.5224 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.529e-05/0.3304, allocations: 3.734 kB / 0.5224 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.132e-05/0.3305, allocations: 47.42 kB / 0.5225 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.576e-05/0.3306, allocations: 52.14 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.3306, allocations: 3.312 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.504e-05/0.3307, allocations: 30.88 kB / 0.5226 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.811e-05/0.3307, allocations: 21.97 kB / 0.5226 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.3308, allocations: 28.17 kB / 0.5226 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.331, allocations: 95.39 kB / 0.5227 GB, free: 1.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.331, allocations: 1.031 kB / 0.5227 GB, free: 1.609 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.331, allocations: 0 / 0.5227 GB, free: 1.609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.331, allocations: 0 / 0.5227 GB, free: 1.609 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003848/0.3314, allocations: 406.2 kB / 0.5231 GB, free: 1.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.3314, allocations: 13.75 kB / 0.5231 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.3315, allocations: 8.281 kB / 0.5231 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.3316, allocations: 203 kB / 0.5233 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.3317, allocations: 384 / 0.5233 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.3317, allocations: 10.92 kB / 0.5233 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.3318, allocations: 46.25 kB / 0.5234 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3318, allocations: 4.688 kB / 0.5234 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3318, allocations: 1.469 kB / 0.5234 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3318, allocations: 0 / 0.5234 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.607e-05/0.3319, allocations: 27.62 kB / 0.5234 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001302/0.332, allocations: 181.3 kB / 0.5236 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.3322, allocations: 49.83 kB / 0.5236 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.582e-05/0.3322, allocations: 24.34 kB / 0.5236 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3323, allocations: 0 / 0.5236 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.3324, allocations: 77.38 kB / 0.5237 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.3324, allocations: 0 / 0.5237 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002431/0.3326, allocations: 96.48 kB / 0.5238 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.572e-05/0.3327, allocations: 52 kB / 0.5238 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.3328, allocations: 189.8 kB / 0.524 GB, free: 368 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.3328, allocations: 26.83 kB / 0.5241 GB, free: 336 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.023e-05/0.3329, allocations: 99.12 kB / 0.5241 GB, free: 240 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.3329, allocations: 20.61 kB / 0.5242 GB, free: 224 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.3329, allocations: 19.66 kB / 0.5242 GB, free: 204 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.333, allocations: 324.8 kB / 0.5245 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.574e-05/0.3331, allocations: 13.94 kB / 0.5245 GB, free: 15.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.832e-05/0.3331, allocations: 27.2 kB / 0.5245 GB, free: 15.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.224e-05/0.3332, allocations: 45.48 kB / 0.5246 GB, free: 15.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3332, allocations: 5.344 kB / 0.5246 GB, free: 15.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001507/0.3334, allocations: 88.22 kB / 0.5247 GB, free: 15.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.3334, allocations: 5.219 kB / 0.5247 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.3334, allocations: 0 / 0.5247 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3334, allocations: 1.938 kB / 0.5247 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.236e-05/0.3335, allocations: 9.703 kB / 0.5247 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.3335, allocations: 1.312 kB / 0.5247 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.727e-05/0.3336, allocations: 3.938 kB / 0.5247 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.3336, allocations: 6.781 kB / 0.5247 GB, free: 15.76 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 (7): * Single equations (assignments): 7 * 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 8.614e-05/0.3337, allocations: 124.4 kB / 0.5248 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.3337, allocations: 13.41 kB / 0.5248 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.99e-05/0.3338, allocations: 14.92 kB / 0.5248 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.3338, allocations: 0 / 0.5248 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3338, allocations: 0.8281 kB / 0.5248 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.3338, allocations: 84.45 kB / 0.5249 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.3339, allocations: 1.969 kB / 0.5249 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.221e-05/0.3339, allocations: 6.844 kB / 0.5249 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.334, allocations: 10.59 kB / 0.5249 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001771/0.3341, allocations: 161.8 kB / 0.5251 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002124/0.3344, allocations: 253.8 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.187e-05/0.3344, allocations: 21.95 kB / 0.5254 GB, free: 15.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.3345, allocations: 146.6 kB / 0.5255 GB, free: 15.05 MB / 398.1 MB Notification: Performance of Backend: time 3.01e-07/0.3345, allocations: 0 / 0.5255 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.3357, allocations: 423.4 kB / 0.5259 GB, free: 14.87 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005565/0.3362, allocations: 0.6395 MB / 0.5265 GB, free: 14.25 MB / 398.1 MB Notification: Performance of Templates: time 0.003849/0.3401, allocations: 1.523 MB / 0.528 GB, free: 13.86 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches