Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 113.3 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.001325/0.001325, allocations: 181.1 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.346/1.346, 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.2168/0.2168, allocations: 44.18 MB / 337.4 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 67.89 kB / 471.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3815, allocations: 60.81 MB / 0.5196 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002913/0.3845, allocations: 1.68 MB / 0.5213 GB, free: 2.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.3857, allocations: 0.8464 MB / 0.5221 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.657e-05/0.3858, allocations: 3.938 kB / 0.5221 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000315/0.3861, allocations: 63.33 kB / 0.5222 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002302/0.3864, allocations: 65.48 kB / 0.5222 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.3867, allocations: 108 kB / 0.5223 GB, free: 2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.3868, allocations: 99.27 kB / 0.5224 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.604e-05/0.3869, allocations: 4.422 kB / 0.5224 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.586e-05/0.387, allocations: 47.09 kB / 0.5225 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.3871, allocations: 44.36 kB / 0.5225 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.3871, allocations: 2.312 kB / 0.5225 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.783e-05/0.3872, allocations: 34.52 kB / 0.5225 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.702e-05/0.3873, allocations: 25.36 kB / 0.5226 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/0.3873, allocations: 30.05 kB / 0.5226 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.3875, allocations: 96.89 kB / 0.5227 GB, free: 1.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3875, allocations: 0.7969 kB / 0.5227 GB, free: 1.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3876, allocations: 0 / 0.5227 GB, free: 1.836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.3876, allocations: 0 / 0.5227 GB, free: 1.836 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004574/0.388, allocations: 400.5 kB / 0.5231 GB, free: 1.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.3881, allocations: 9.703 kB / 0.5231 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.3881, allocations: 13.34 kB / 0.5231 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.3883, allocations: 201.7 kB / 0.5233 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.3884, allocations: 5.438 kB / 0.5233 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.3884, allocations: 10.06 kB / 0.5233 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.3885, allocations: 46.8 kB / 0.5233 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3885, allocations: 0 / 0.5233 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.3885, allocations: 4.922 kB / 0.5234 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3886, allocations: 1.906 kB / 0.5234 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.63e-05/0.3886, allocations: 14.06 kB / 0.5234 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.3888, allocations: 182.8 kB / 0.5235 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.3889, allocations: 61.39 kB / 0.5236 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.978e-05/0.389, allocations: 23.39 kB / 0.5236 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.389, allocations: 1.094 kB / 0.5236 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.3892, allocations: 64.91 kB / 0.5237 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.3892, allocations: 0 / 0.5237 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002623/0.3894, allocations: 96.48 kB / 0.5238 GB, free: 0.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.3895, allocations: 55.34 kB / 0.5238 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.3896, allocations: 189.9 kB / 0.524 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.3897, allocations: 27.2 kB / 0.524 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.3897, allocations: 99.45 kB / 0.5241 GB, free: 480 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.3898, allocations: 20.11 kB / 0.5242 GB, free: 464 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.3898, allocations: 19.55 kB / 0.5242 GB, free: 444 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.254e-05/0.3899, allocations: 326.5 kB / 0.5245 GB, free: 116 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.607e-05/0.3899, allocations: 12.95 kB / 0.5245 GB, free: 112 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-05/0.39, allocations: 38.81 kB / 0.5245 GB, free: 80 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.378e-05/0.3901, allocations: 38.47 kB / 0.5246 GB, free: 56 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3901, allocations: 0 / 0.5246 GB, free: 56 kB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001632/0.3902, allocations: 91.55 kB / 0.5247 GB, free: 15.99 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3903, allocations: 12.47 kB / 0.5247 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.3903, allocations: 1.828 kB / 0.5247 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3903, allocations: 1.156 kB / 0.5247 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.762e-05/0.3904, allocations: 10.95 kB / 0.5247 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.3904, allocations: 4.969 kB / 0.5247 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.437e-05/0.3904, allocations: 6.844 kB / 0.5247 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.3905, allocations: 2.312 kB / 0.5247 GB, free: 15.98 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 (7): * Single equations (assignments): 7 * 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.0001045/0.3906, allocations: 125.5 kB / 0.5248 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.3906, allocations: 8.344 kB / 0.5248 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.839e-05/0.3906, allocations: 18.42 kB / 0.5248 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3907, allocations: 1.391 kB / 0.5248 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3907, allocations: 0 / 0.5248 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3907, allocations: 1.781 kB / 0.5248 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.3908, allocations: 184 kB / 0.525 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3908, allocations: 1.672 kB / 0.525 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.07e-05/0.3909, allocations: 4.109 kB / 0.525 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3909, allocations: 0 / 0.525 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3909, allocations: 5.719 kB / 0.525 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3909, allocations: 2.203 kB / 0.525 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3909, allocations: 0 / 0.525 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.3911, allocations: 120.8 kB / 0.5251 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.3912, allocations: 83.97 kB / 0.5252 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.3912, allocations: 1.844 kB / 0.5252 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.464e-05/0.3912, allocations: 1.859 kB / 0.5252 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.3913, allocations: 7.547 kB / 0.5252 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.3913, allocations: 4.062 kB / 0.5252 GB, free: 15.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.3914, allocations: 142.2 kB / 0.5254 GB, free: 15.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3914, allocations: 1.031 kB / 0.5254 GB, free: 15.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002093/0.3916, allocations: 13.33 kB / 0.5254 GB, free: 15.34 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009199/0.3926, allocations: 416.7 kB / 0.5258 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001606/0.3927, allocations: 41.64 kB / 0.5258 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3928, allocations: 0 / 0.5258 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.958e-05/0.3928, allocations: 17 kB / 0.5258 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.3931, allocations: 38.77 kB / 0.5259 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.3935, allocations: 220 kB / 0.5261 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.3938, allocations: 0.7057 MB / 0.5268 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.348e-05/0.3939, allocations: 14.81 kB / 0.5268 GB, free: 14.22 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3939, allocations: 0 / 0.5268 GB, free: 14.22 MB / 398.1 MB Notification: Performance of Templates: time 0.003671/0.3975, allocations: 1.685 MB / 0.5284 GB, free: 13.67 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches