Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001233/0.001233, allocations: 183 kB / 18.72 MB, free: 4.332 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.389/1.389, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2187/0.2187, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 71.81 kB / 470.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4981/0.4994, allocations: 60.82 MB / 0.519 GB, free: 3.887 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.00468/0.5041, allocations: 1.682 MB / 0.5206 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002175/0.5062, allocations: 0.8515 MB / 0.5214 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.5064, allocations: 5.094 kB / 0.5215 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005789/0.5069, allocations: 55.27 kB / 0.5215 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003951/0.5073, allocations: 55.56 kB / 0.5216 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005495/0.5079, allocations: 108.4 kB / 0.5217 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.5082, allocations: 88.52 kB / 0.5217 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.776e-05/0.5083, allocations: 7.625 kB / 0.5218 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.5084, allocations: 44.78 kB / 0.5218 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.5085, allocations: 25.2 kB / 0.5218 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.5085, allocations: 2.531 kB / 0.5218 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.5087, allocations: 31.2 kB / 0.5219 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.5088, allocations: 31.31 kB / 0.5219 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.855e-05/0.5089, allocations: 37.44 kB / 0.5219 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003643/0.5093, allocations: 114.4 kB / 0.522 GB, free: 1.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.5093, allocations: 4.734 kB / 0.522 GB, free: 1.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.5093, allocations: 0 / 0.522 GB, free: 1.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.5093, allocations: 0 / 0.522 GB, free: 1.84 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.0007102/0.51, allocations: 439.8 kB / 0.5224 GB, free: 1.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.5101, allocations: 10.09 kB / 0.5225 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.704e-05/0.5101, allocations: 10.33 kB / 0.5225 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004285/0.5105, allocations: 226.6 kB / 0.5227 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.5106, allocations: 1.5 kB / 0.5227 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.5106, allocations: 5.594 kB / 0.5227 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.5107, allocations: 46.78 kB / 0.5227 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.5108, allocations: 3.938 kB / 0.5227 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.5108, allocations: 1.562 kB / 0.5227 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.5108, allocations: 4.656 kB / 0.5227 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.356e-05/0.5109, allocations: 14.34 kB / 0.5228 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.5111, allocations: 190.3 kB / 0.5229 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.5113, allocations: 52.61 kB / 0.523 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.601e-05/0.5114, allocations: 22.19 kB / 0.523 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.5114, allocations: 5.156 kB / 0.523 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.5116, allocations: 64.08 kB / 0.5231 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.744e-06/0.5116, allocations: 0 / 0.5231 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003909/0.512, allocations: 105.8 kB / 0.5232 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.512, allocations: 53.39 kB / 0.5232 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000371/0.5124, allocations: 261.5 kB / 0.5235 GB, free: 0.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.5124, allocations: 26.83 kB / 0.5235 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.91e-05/0.5125, allocations: 114.7 kB / 0.5236 GB, free: 416 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.558e-05/0.5126, allocations: 15.44 kB / 0.5236 GB, free: 404 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.5126, allocations: 20.7 kB / 0.5236 GB, free: 384 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.97e-05/0.5127, allocations: 324.3 kB / 0.524 GB, free: 60 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.796e-05/0.5128, allocations: 13.64 kB / 0.524 GB, free: 56 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.832e-05/0.5128, allocations: 26.38 kB / 0.524 GB, free: 36 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.5129, allocations: 50.75 kB / 0.524 GB, free: 0 / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5129, allocations: 0 / 0.524 GB, free: 0 / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002256/0.5132, allocations: 89.95 kB / 0.5241 GB, free: 15.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.5132, allocations: 8.438 kB / 0.5241 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.5132, allocations: 0.75 kB / 0.5241 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/0.5132, allocations: 4.891 kB / 0.5241 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.5133, allocations: 15.05 kB / 0.5242 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.5133, allocations: 0.75 kB / 0.5242 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.63e-05/0.5134, allocations: 7.297 kB / 0.5242 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.5134, allocations: 6.719 kB / 0.5242 GB, free: 15.92 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.0001579/0.5136, allocations: 137.1 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.5136, allocations: 14.56 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.562e-05/0.5136, allocations: 18.38 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.5136, allocations: 0 / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.5137, allocations: 2 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.5137, allocations: 0.7969 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.5139, allocations: 196.1 kB / 0.5245 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.5139, allocations: 1.625 kB / 0.5245 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.5139, allocations: 7.938 kB / 0.5245 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.5139, allocations: 0 / 0.5245 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.5139, allocations: 2.203 kB / 0.5245 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.5139, allocations: 0.9219 kB / 0.5245 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5139, allocations: 3.938 kB / 0.5245 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.5141, allocations: 122.4 kB / 0.5247 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.5142, allocations: 88.52 kB / 0.5247 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.5142, allocations: 2.719 kB / 0.5247 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.92e-05/0.5143, allocations: 10.41 kB / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.5143, allocations: 3.797 kB / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.5143, allocations: 6.578 kB / 0.5248 GB, free: 15.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002456/0.5146, allocations: 200 kB / 0.525 GB, free: 15.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5146, allocations: 0 / 0.525 GB, free: 15.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.5148, allocations: 18.92 kB / 0.525 GB, free: 15.24 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.001153/0.516, allocations: 410.7 kB / 0.5254 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000244/0.5162, allocations: 47.44 kB / 0.5254 GB, free: 15.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5162, allocations: 0 / 0.5254 GB, free: 15.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.439e-05/0.5163, allocations: 16.73 kB / 0.5254 GB, free: 15.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.5166, allocations: 33.7 kB / 0.5255 GB, free: 15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007121/0.5173, allocations: 262.1 kB / 0.5257 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.5177, allocations: 0.7173 MB / 0.5264 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.415e-05/0.5178, allocations: 9.281 kB / 0.5264 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.5178, allocations: 15.55 kB / 0.5264 GB, free: 14.13 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5178, allocations: 0 / 0.5264 GB, free: 14.13 MB / 398.1 MB Notification: Performance of Templates: time 0.005401/0.5232, allocations: 1.514 MB / 0.5279 GB, free: 13.64 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches