Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,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.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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 113.9 kB / 18.45 MB, free: 4.641 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.001178/0.001179, allocations: 186.1 kB / 19.38 MB, free: 3.719 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.388/1.388, allocations: 222.9 MB / 243.1 MB, free: 15.18 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.2143/0.2143, allocations: 44.19 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 63.89 kB / 471.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3281, allocations: 60.82 MB / 0.5197 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002857/0.331, allocations: 1.703 MB / 0.5213 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.3323, allocations: 0.8747 MB / 0.5222 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.437e-05/0.3324, allocations: 4.844 kB / 0.5222 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.3327, allocations: 33.98 kB / 0.5222 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.3329, allocations: 58.59 kB / 0.5223 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.3331, allocations: 109.8 kB / 0.5224 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.3333, allocations: 95.56 kB / 0.5225 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.887e-05/0.3334, allocations: 16.59 kB / 0.5225 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.243e-05/0.3335, allocations: 45.66 kB / 0.5225 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.844e-05/0.3336, allocations: 25.66 kB / 0.5225 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.3336, allocations: 4.594 kB / 0.5225 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.833e-05/0.3337, allocations: 45.52 kB / 0.5226 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.262e-05/0.3338, allocations: 17.08 kB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.736e-05/0.3338, allocations: 29.36 kB / 0.5226 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.334, allocations: 110.6 kB / 0.5227 GB, free: 1.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.334, allocations: 3.938 kB / 0.5227 GB, free: 1.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.334, allocations: 4 kB / 0.5227 GB, free: 1.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.334, allocations: 0 / 0.5227 GB, free: 1.559 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.0004309/0.3345, allocations: 408.4 kB / 0.5231 GB, free: 1.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3345, allocations: 9.188 kB / 0.5231 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.3346, allocations: 9.062 kB / 0.5232 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.3348, allocations: 206.7 kB / 0.5234 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.3348, allocations: 5.344 kB / 0.5234 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.3349, allocations: 7.203 kB / 0.5234 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.335, allocations: 61.66 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.335, allocations: 3.938 kB / 0.5234 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.335, allocations: 1.156 kB / 0.5234 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.335, allocations: 1.766 kB / 0.5234 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.012e-05/0.3351, allocations: 18.14 kB / 0.5234 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.3354, allocations: 280.9 kB / 0.5237 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.3355, allocations: 55.59 kB / 0.5238 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.028e-05/0.3356, allocations: 28.45 kB / 0.5238 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.3356, allocations: 1.312 kB / 0.5238 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/0.3358, allocations: 66.17 kB / 0.5239 GB, free: 492 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.3358, allocations: 3.938 kB / 0.5239 GB, free: 488 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004836/0.3363, allocations: 176.4 kB / 0.524 GB, free: 396 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.785e-05/0.3363, allocations: 56.88 kB / 0.5241 GB, free: 328 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.3364, allocations: 171.3 kB / 0.5242 GB, free: 204 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.3365, allocations: 26.98 kB / 0.5243 GB, free: 172 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.488e-05/0.3365, allocations: 98.09 kB / 0.5244 GB, free: 76 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.3365, allocations: 26.45 kB / 0.5244 GB, free: 56 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.3366, allocations: 22.28 kB / 0.5244 GB, free: 36 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3367, allocations: 333.2 kB / 0.5247 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.933e-05/0.3368, allocations: 21.7 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.689e-05/0.3369, allocations: 34.77 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.337, allocations: 66.17 kB / 0.5248 GB, free: 15.63 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.337, allocations: 0 / 0.5248 GB, free: 15.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001883/0.3372, allocations: 105.3 kB / 0.5249 GB, free: 15.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.3372, allocations: 5.344 kB / 0.525 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3372, allocations: 5.156 kB / 0.525 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3372, allocations: 5.172 kB / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.656e-05/0.3373, allocations: 19.64 kB / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3373, allocations: 2.297 kB / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.403e-05/0.3374, allocations: 1.062 kB / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.3374, allocations: 8 kB / 0.525 GB, free: 15.55 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.757e-05/0.3375, allocations: 123.4 kB / 0.5251 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.3375, allocations: 9.969 kB / 0.5251 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.3376, allocations: 14.77 kB / 0.5251 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3376, allocations: 7.938 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3376, allocations: 2.562 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/0.3376, allocations: 83.14 kB / 0.5252 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.3377, allocations: 7.047 kB / 0.5252 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.178e-05/0.3377, allocations: 6 kB / 0.5252 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.3378, allocations: 4.844 kB / 0.5252 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002199/0.338, allocations: 173.9 kB / 0.5254 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002445/0.3382, allocations: 280.6 kB / 0.5257 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.456e-05/0.3383, allocations: 25.53 kB / 0.5257 GB, free: 14.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.3384, allocations: 135.2 kB / 0.5258 GB, free: 14.84 MB / 398.1 MB Notification: Performance of Backend: time 4e-07/0.3384, allocations: 0 / 0.5258 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001318/0.3397, allocations: 489.4 kB / 0.5263 GB, free: 14.64 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005822/0.3403, allocations: 0.6542 MB / 0.5269 GB, free: 14.02 MB / 398.1 MB Notification: Performance of Templates: time 0.004461/0.3448, allocations: 1.756 MB / 0.5286 GB, free: 13.5 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches