Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 110 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.00135/0.00135, allocations: 186.3 kB / 19.38 MB, free: 3.684 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.309/1.309, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2035/0.2035, allocations: 44.19 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 63.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3715, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.002715/0.3742, allocations: 1.56 MB / 0.5211 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.3756, allocations: 1.032 MB / 0.5221 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.3756, allocations: 5.156 kB / 0.5221 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.3759, allocations: 23.19 kB / 0.5221 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002243/0.3761, allocations: 42.16 kB / 0.5222 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.3765, allocations: 110.9 kB / 0.5223 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.3767, allocations: 51.72 kB / 0.5223 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.3768, allocations: 16.56 kB / 0.5224 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.579e-05/0.3768, allocations: 28.09 kB / 0.5224 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.377, allocations: 29.67 kB / 0.5224 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.377, allocations: 2.312 kB / 0.5224 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.3771, allocations: 49.89 kB / 0.5225 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.611e-05/0.3772, allocations: 13.16 kB / 0.5225 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.3772, allocations: 21.7 kB / 0.5225 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.3774, allocations: 86.94 kB / 0.5226 GB, free: 1.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3774, allocations: 0 / 0.5226 GB, free: 1.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3775, allocations: 0 / 0.5226 GB, free: 1.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.3775, allocations: 2.016 kB / 0.5226 GB, free: 1.574 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.0004419/0.3779, allocations: 381.8 kB / 0.5229 GB, free: 1.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.378, allocations: 8.719 kB / 0.5229 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.378, allocations: 12.06 kB / 0.523 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.3782, allocations: 184.3 kB / 0.5231 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.3782, allocations: 1.984 kB / 0.5231 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.3782, allocations: 1.781 kB / 0.5231 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.3784, allocations: 71.12 kB / 0.5232 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3784, allocations: 0 / 0.5232 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.3784, allocations: 5.578 kB / 0.5232 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3784, allocations: 5.219 kB / 0.5232 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.3785, allocations: 22.86 kB / 0.5232 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.3789, allocations: 275.4 kB / 0.5235 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.3791, allocations: 42.02 kB / 0.5235 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.378e-05/0.3792, allocations: 30.42 kB / 0.5236 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.3792, allocations: 5.109 kB / 0.5236 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.3792, allocations: 32.03 kB / 0.5236 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3792, allocations: 0 / 0.5236 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005363/0.3798, allocations: 151.3 kB / 0.5238 GB, free: 468 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.3798, allocations: 81.86 kB / 0.5238 GB, free: 368 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.3799, allocations: 131.6 kB / 0.524 GB, free: 256 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.3799, allocations: 25.7 kB / 0.524 GB, free: 224 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.077e-05/0.38, allocations: 93.38 kB / 0.5241 GB, free: 132 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.38, allocations: 15.98 kB / 0.5241 GB, free: 120 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.38, allocations: 19.03 kB / 0.5241 GB, free: 100 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3802, allocations: 323.1 kB / 0.5244 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.361e-05/0.3802, allocations: 20.59 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.799e-05/0.3803, allocations: 37.05 kB / 0.5245 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.3805, allocations: 55.92 kB / 0.5245 GB, free: 15.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.3805, allocations: 0 / 0.5245 GB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001886/0.3807, allocations: 89.36 kB / 0.5246 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.3807, allocations: 4.781 kB / 0.5246 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3807, allocations: 6.047 kB / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3807, allocations: 0 / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.124e-05/0.3808, allocations: 12.14 kB / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.3808, allocations: 1.188 kB / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.425e-05/0.3808, allocations: 5.484 kB / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.3809, allocations: 5.062 kB / 0.5246 GB, free: 15.67 MB / 398.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 8.362e-05/0.3809, allocations: 119.3 kB / 0.5247 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.381, allocations: 7.062 kB / 0.5248 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.3812, allocations: 105.4 kB / 0.5249 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.3812, allocations: 1.531 kB / 0.5249 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3812, allocations: 0.7969 kB / 0.5249 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3813, allocations: 0 / 0.5249 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004211/0.3817, allocations: 350.2 kB / 0.5252 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3817, allocations: 0 / 0.5252 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-05/0.3818, allocations: 16.31 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.3818, allocations: 5.969 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.3818, allocations: 0.5625 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.3818, allocations: 3.938 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3818, allocations: 0 / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.382, allocations: 186.2 kB / 0.5254 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.3821, allocations: 79.06 kB / 0.5255 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.3821, allocations: 0.9375 kB / 0.5255 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.038e-05/0.3822, allocations: 13.77 kB / 0.5255 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.3822, allocations: 4.719 kB / 0.5255 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.3823, allocations: 4.938 kB / 0.5255 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.154e-05/0.3823, allocations: 107.3 kB / 0.5256 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3823, allocations: 0 / 0.5256 GB, free: 14.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000249/0.3826, allocations: 20.16 kB / 0.5256 GB, free: 14.79 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0009915/0.3836, allocations: 451.4 kB / 0.526 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.3838, allocations: 52.39 kB / 0.5261 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3838, allocations: 1.688 kB / 0.5261 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.726e-05/0.3839, allocations: 24.64 kB / 0.5261 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.3842, allocations: 21.58 kB / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/0.3846, allocations: 197.7 kB / 0.5263 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.3849, allocations: 0.6926 MB / 0.527 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.3849, allocations: 14.95 kB / 0.527 GB, free: 13.68 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3849, allocations: 0 / 0.527 GB, free: 13.68 MB / 398.1 MB Notification: Performance of Templates: time 0.003423/0.3884, allocations: 1.602 MB / 0.5286 GB, free: 13.21 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches