Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 106.5 kB / 18.45 MB, free: 4.602 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.001212/0.001212, allocations: 187.2 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.398/1.398, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.2428/0.2428, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001329, allocations: 63.91 kB / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3161, allocations: 60.83 MB / 0.5197 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002425/0.3185, allocations: 1.714 MB / 0.5213 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.3197, allocations: 0.8757 MB / 0.5222 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.372e-05/0.3197, allocations: 5.906 kB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.32, allocations: 34.59 kB / 0.5222 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.3202, allocations: 58.62 kB / 0.5223 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.3205, allocations: 106.1 kB / 0.5224 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.3206, allocations: 91.73 kB / 0.5225 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.997e-05/0.3207, allocations: 20.03 kB / 0.5225 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.669e-05/0.3208, allocations: 41.75 kB / 0.5225 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.482e-05/0.3209, allocations: 30.36 kB / 0.5226 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.3209, allocations: 4.531 kB / 0.5226 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.417e-05/0.321, allocations: 41.2 kB / 0.5226 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.684e-05/0.321, allocations: 22.77 kB / 0.5226 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.224e-05/0.3211, allocations: 34.03 kB / 0.5227 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.3212, allocations: 110.5 kB / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3213, allocations: 2.062 kB / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3213, allocations: 3.938 kB / 0.5228 GB, free: 1.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.3213, allocations: 0 / 0.5228 GB, free: 1.543 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.0003865/0.3217, allocations: 408.7 kB / 0.5232 GB, free: 1.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.3217, allocations: 8.438 kB / 0.5232 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.3218, allocations: 10.25 kB / 0.5232 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.3219, allocations: 205.9 kB / 0.5234 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.322, allocations: 2.656 kB / 0.5234 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.322, allocations: 10.83 kB / 0.5234 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.3221, allocations: 49.3 kB / 0.5234 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3221, allocations: 8.969 kB / 0.5234 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3222, allocations: 12.44 kB / 0.5234 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3222, allocations: 1.156 kB / 0.5234 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.41e-05/0.3222, allocations: 18.59 kB / 0.5235 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002833/0.3225, allocations: 281.8 kB / 0.5237 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.3227, allocations: 52.84 kB / 0.5238 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.172e-05/0.3228, allocations: 31.92 kB / 0.5238 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.3228, allocations: 1.875 kB / 0.5238 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.3229, allocations: 65.31 kB / 0.5239 GB, free: 472 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.883e-06/0.3229, allocations: 0 / 0.5239 GB, free: 472 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004824/0.3234, allocations: 173.7 kB / 0.524 GB, free: 384 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.645e-05/0.3234, allocations: 55.41 kB / 0.5241 GB, free: 316 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.3236, allocations: 191.2 kB / 0.5243 GB, free: 180 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.948e-06/0.3236, allocations: 31.61 kB / 0.5243 GB, free: 144 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.3237, allocations: 103.2 kB / 0.5244 GB, free: 44 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.3237, allocations: 25.05 kB / 0.5244 GB, free: 24 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.3237, allocations: 26.61 kB / 0.5245 GB, free: 0 / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3239, allocations: 326.2 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.31e-05/0.3239, allocations: 17.02 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-05/0.324, allocations: 44.03 kB / 0.5248 GB, free: 15.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.3241, allocations: 57 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3241, allocations: 0.5156 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001825/0.3243, allocations: 101.5 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3244, allocations: 5.781 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3244, allocations: 1.375 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.3244, allocations: 0 / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.548e-05/0.3245, allocations: 20.16 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3245, allocations: 1 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/0.3245, allocations: 6.953 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.3246, allocations: 8.297 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 9.192e-05/0.3246, allocations: 128.6 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.3247, allocations: 13.16 kB / 0.5252 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.778e-05/0.3247, allocations: 16.72 kB / 0.5252 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3247, allocations: 0.7031 kB / 0.5252 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3247, allocations: 3.938 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.828e-05/0.3248, allocations: 88.22 kB / 0.5253 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.3248, allocations: 6.844 kB / 0.5253 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.309e-05/0.3249, allocations: 11.19 kB / 0.5253 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.3249, allocations: 4.219 kB / 0.5253 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002212/0.3251, allocations: 174.8 kB / 0.5254 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002495/0.3254, allocations: 279.3 kB / 0.5257 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.235e-05/0.3255, allocations: 29.8 kB / 0.5257 GB, free: 14.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.3256, allocations: 147.3 kB / 0.5259 GB, free: 14.8 MB / 398.1 MB Notification: Performance of Backend: time 2.3e-07/0.3256, allocations: 0 / 0.5259 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.3269, allocations: 486.2 kB / 0.5263 GB, free: 14.61 MB / 398.1 MB Notification: Performance of SimCode: time 0.00058/0.3274, allocations: 0.6646 MB / 0.527 GB, free: 13.97 MB / 398.1 MB Notification: Performance of Templates: time 0.004419/0.3319, allocations: 1.754 MB / 0.5287 GB, free: 13.45 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches