Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 109.9 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.001237/0.001237, allocations: 185.9 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.405/1.405, 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.2123/0.2123, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 67.89 kB / 471.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3895, allocations: 60.82 MB / 0.5197 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002778/0.3923, allocations: 1.715 MB / 0.5213 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.3935, allocations: 0.8746 MB / 0.5222 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.174e-05/0.3936, allocations: 1.281 kB / 0.5222 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.3939, allocations: 38.86 kB / 0.5222 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.3942, allocations: 59.52 kB / 0.5223 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.3944, allocations: 105.8 kB / 0.5224 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.3946, allocations: 100.8 kB / 0.5225 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3947, allocations: 10.92 kB / 0.5225 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.41e-05/0.3948, allocations: 42.75 kB / 0.5225 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.809e-05/0.3949, allocations: 33.33 kB / 0.5226 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.3949, allocations: 3.75 kB / 0.5226 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-05/0.395, allocations: 38.66 kB / 0.5226 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.852e-05/0.3951, allocations: 23.81 kB / 0.5226 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.449e-05/0.3952, allocations: 32.53 kB / 0.5227 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.3954, allocations: 117 kB / 0.5228 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3954, allocations: 1.062 kB / 0.5228 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3954, allocations: 0 / 0.5228 GB, free: 1.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.3954, allocations: 4 kB / 0.5228 GB, free: 1.566 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.0004714/0.3959, allocations: 410.8 kB / 0.5232 GB, free: 1.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.396, allocations: 9.766 kB / 0.5232 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.396, allocations: 13.34 kB / 0.5232 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.3962, allocations: 211.6 kB / 0.5234 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.3962, allocations: 5.625 kB / 0.5234 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.3963, allocations: 7.156 kB / 0.5234 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.3964, allocations: 66.77 kB / 0.5235 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3964, allocations: 3.938 kB / 0.5235 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.3965, allocations: 1.938 kB / 0.5235 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.3965, allocations: 0 / 0.5235 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.227e-05/0.3966, allocations: 18.19 kB / 0.5235 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.3969, allocations: 287.8 kB / 0.5238 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.397, allocations: 64.02 kB / 0.5238 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.07e-05/0.3971, allocations: 20.12 kB / 0.5238 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.3971, allocations: 2.016 kB / 0.5238 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001343/0.3973, allocations: 65.42 kB / 0.5239 GB, free: 484 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.3973, allocations: 0 / 0.5239 GB, free: 484 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005008/0.3978, allocations: 177.3 kB / 0.5241 GB, free: 392 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.974e-05/0.3978, allocations: 61.59 kB / 0.5241 GB, free: 320 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.398, allocations: 195.4 kB / 0.5243 GB, free: 184 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.398, allocations: 27.44 kB / 0.5243 GB, free: 152 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.398, allocations: 104.6 kB / 0.5244 GB, free: 52 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.3981, allocations: 25.47 kB / 0.5245 GB, free: 32 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.3981, allocations: 23.67 kB / 0.5245 GB, free: 12 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3983, allocations: 324.7 kB / 0.5248 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-05/0.3983, allocations: 26.2 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.785e-05/0.3984, allocations: 42.72 kB / 0.5249 GB, free: 15.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.3985, allocations: 57.94 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3985, 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.0001883/0.3987, allocations: 109.9 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3988, allocations: 4.469 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3988, allocations: 1.125 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3988, allocations: 5.156 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.874e-05/0.3989, allocations: 16.02 kB / 0.5251 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.3989, allocations: 0 / 0.5251 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.399, allocations: 8.734 kB / 0.5251 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.399, allocations: 6.438 kB / 0.5251 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 0.000106/0.3991, allocations: 125.6 kB / 0.5252 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.3991, allocations: 14.8 kB / 0.5252 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.686e-05/0.3992, allocations: 20.16 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.3992, allocations: 2.172 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3992, allocations: 4 kB / 0.5252 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.3992, allocations: 84.41 kB / 0.5253 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.3993, allocations: 5.828 kB / 0.5253 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.024e-05/0.3993, allocations: 2.578 kB / 0.5253 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.3994, allocations: 10.09 kB / 0.5253 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002259/0.3996, allocations: 169.9 kB / 0.5255 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002943/0.3999, allocations: 288 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.482e-05/0.4, allocations: 25.72 kB / 0.5258 GB, free: 14.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.4001, allocations: 151.7 kB / 0.5259 GB, free: 14.8 MB / 398.1 MB Notification: Performance of Backend: time 3e-07/0.4001, allocations: 0 / 0.5259 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001355/0.4015, allocations: 484.6 kB / 0.5264 GB, free: 14.61 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006393/0.4021, allocations: 0.6718 MB / 0.527 GB, free: 13.98 MB / 398.1 MB Notification: Performance of Templates: time 0.004819/0.4069, allocations: 1.767 MB / 0.5288 GB, free: 13.45 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches