Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 111.7 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.000996/0.0009961, allocations: 186.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.334/1.334, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.1954/0.1954, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 67.89 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.308, allocations: 60.82 MB / 0.5196 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002392/0.3104, allocations: 1.565 MB / 0.5211 GB, free: 2.551 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006351/0.3111, allocations: 403.8 kB / 0.5215 GB, free: 2.289 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.56e-05/0.3111, allocations: 5.062 kB / 0.5215 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.3113, allocations: 23.91 kB / 0.5215 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.3115, allocations: 36.53 kB / 0.5216 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.3118, allocations: 110.8 kB / 0.5217 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.3119, allocations: 59.31 kB / 0.5217 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.82e-05/0.312, allocations: 12.95 kB / 0.5217 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.966e-05/0.312, allocations: 22.38 kB / 0.5218 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.163e-05/0.3121, allocations: 20.98 kB / 0.5218 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.3121, allocations: 2.188 kB / 0.5218 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.951e-05/0.3122, allocations: 29.56 kB / 0.5218 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.57e-05/0.3123, allocations: 18.28 kB / 0.5218 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.3123, allocations: 20.59 kB / 0.5218 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.3124, allocations: 69.3 kB / 0.5219 GB, free: 2.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3124, allocations: 0 / 0.5219 GB, free: 2.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3124, allocations: 1.062 kB / 0.5219 GB, free: 2.074 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.3125, allocations: 0 / 0.5219 GB, free: 2.074 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003542/0.3128, allocations: 377.1 kB / 0.5223 GB, free: 1.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.3129, allocations: 9.734 kB / 0.5223 GB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.3129, allocations: 11.19 kB / 0.5223 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.313, allocations: 187.2 kB / 0.5225 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.313, allocations: 6.078 kB / 0.5225 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.3131, allocations: 2.625 kB / 0.5225 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.3132, allocations: 49.64 kB / 0.5225 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3132, allocations: 3.938 kB / 0.5225 GB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.3132, allocations: 5.094 kB / 0.5225 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.3132, allocations: 0 / 0.5225 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.168e-05/0.3133, allocations: 23.94 kB / 0.5226 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.3136, allocations: 283.6 kB / 0.5228 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.3138, allocations: 49.8 kB / 0.5229 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.915e-05/0.3139, allocations: 18.91 kB / 0.5229 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.3139, allocations: 4.734 kB / 0.5229 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.071e-05/0.3139, allocations: 35.62 kB / 0.5229 GB, free: 1.043 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.3139, allocations: 0.9688 kB / 0.5229 GB, free: 1.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005239/0.3145, allocations: 138.8 kB / 0.5231 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.425e-05/0.3145, allocations: 52.47 kB / 0.5231 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.3146, allocations: 143.8 kB / 0.5233 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.3146, allocations: 34.73 kB / 0.5233 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.3147, allocations: 96.02 kB / 0.5234 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.3147, allocations: 15.61 kB / 0.5234 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.3147, allocations: 19.56 kB / 0.5234 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.837e-05/0.3148, allocations: 319.9 kB / 0.5237 GB, free: 332 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.216e-05/0.3148, allocations: 21.09 kB / 0.5237 GB, free: 328 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.203e-05/0.3149, allocations: 24.03 kB / 0.5238 GB, free: 320 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.3151, allocations: 55.78 kB / 0.5238 GB, free: 296 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3151, allocations: 1.219 kB / 0.5238 GB, free: 296 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001738/0.3153, allocations: 88.8 kB / 0.5239 GB, free: 244 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.3153, allocations: 5.406 kB / 0.5239 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3153, allocations: 0 / 0.5239 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3153, allocations: 0 / 0.5239 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.504e-05/0.3154, allocations: 21.11 kB / 0.5239 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.3154, allocations: 5.203 kB / 0.5239 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.821e-05/0.3154, allocations: 4.328 kB / 0.5239 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.3155, allocations: 1.312 kB / 0.5239 GB, free: 232 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.252e-05/0.3155, allocations: 120.6 kB / 0.524 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.3155, allocations: 7.906 kB / 0.5241 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.3158, allocations: 101.2 kB / 0.5242 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3158, allocations: 0.9688 kB / 0.5242 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3158, allocations: 0.5625 kB / 0.5242 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.3159, allocations: 80.16 kB / 0.5242 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.3159, allocations: 8.5 kB / 0.5242 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/0.316, allocations: 4.5 kB / 0.5242 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.316, allocations: 4.172 kB / 0.5242 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002325/0.3162, allocations: 159.2 kB / 0.5244 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002578/0.3165, allocations: 265.4 kB / 0.5247 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.754e-05/0.3166, allocations: 27.28 kB / 0.5247 GB, free: 15.58 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.088e-05/0.3167, allocations: 116 kB / 0.5248 GB, free: 15.49 MB / 398.1 MB Notification: Performance of Backend: time 4.31e-07/0.3167, allocations: 0 / 0.5248 GB, free: 15.49 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.3179, allocations: 421.9 kB / 0.5252 GB, free: 15.32 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005307/0.3185, allocations: 0.6197 MB / 0.5258 GB, free: 14.7 MB / 398.1 MB Notification: Performance of Templates: time 0.00365/0.3221, allocations: 1.258 MB / 0.527 GB, free: 14.51 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches