Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 113.3 kB / 18.45 MB, free: 4.598 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.001316/0.001316, allocations: 185.1 kB / 19.38 MB, free: 3.676 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.339/1.339, allocations: 222.9 MB / 243.1 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.2031/0.2031, allocations: 44.19 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 60.09 kB / 471.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4066, allocations: 60.83 MB / 0.5197 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002933/0.4096, allocations: 1.727 MB / 0.5213 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.4109, allocations: 0.8758 MB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.535e-05/0.411, allocations: 1.094 kB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.4113, allocations: 48.08 kB / 0.5222 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.4116, allocations: 63.69 kB / 0.5223 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.4119, allocations: 110.8 kB / 0.5224 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.4121, allocations: 123.6 kB / 0.5225 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.4122, allocations: 13.47 kB / 0.5225 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.4123, allocations: 52.56 kB / 0.5226 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.9e-05/0.4124, allocations: 47.66 kB / 0.5226 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.4125, allocations: 4.938 kB / 0.5226 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.4126, allocations: 64.72 kB / 0.5227 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.37e-05/0.4127, allocations: 30.38 kB / 0.5227 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.172e-05/0.4127, allocations: 40.5 kB / 0.5228 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.413, allocations: 147.6 kB / 0.5229 GB, free: 1.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.413, allocations: 1.828 kB / 0.5229 GB, free: 1.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.413, allocations: 0 / 0.5229 GB, free: 1.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.413, allocations: 0 / 0.5229 GB, free: 1.492 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005158/0.4136, allocations: 431.9 kB / 0.5233 GB, free: 1.078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.4136, allocations: 9.781 kB / 0.5233 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.077e-05/0.4137, allocations: 14.34 kB / 0.5234 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.414, allocations: 227.8 kB / 0.5236 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.414, allocations: 5.594 kB / 0.5236 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.414, allocations: 8.547 kB / 0.5236 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.4142, allocations: 77.89 kB / 0.5237 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4142, allocations: 1.281 kB / 0.5237 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.4142, allocations: 4 kB / 0.5237 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.4142, allocations: 1.438 kB / 0.5237 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.4144, allocations: 41.39 kB / 0.5237 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.4147, allocations: 326.7 kB / 0.524 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.415, allocations: 80.22 kB / 0.5241 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.998e-05/0.4151, allocations: 29.81 kB / 0.5241 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.4152, allocations: 2.688 kB / 0.5241 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.4153, allocations: 86.38 kB / 0.5242 GB, free: 348 kB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.4153, allocations: 0 / 0.5242 GB, free: 348 kB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008249/0.4162, allocations: 299.9 kB / 0.5245 GB, free: 212 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.4162, allocations: 56.81 kB / 0.5245 GB, free: 144 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.4164, allocations: 188.5 kB / 0.5247 GB, free: 8 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/0.4164, allocations: 31.48 kB / 0.5248 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.4165, allocations: 100.1 kB / 0.5248 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/0.4165, allocations: 46.59 kB / 0.5249 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.4166, allocations: 34.91 kB / 0.5249 GB, free: 15.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.4167, allocations: 323 kB / 0.5252 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.698e-05/0.4168, allocations: 34.77 kB / 0.5253 GB, free: 15.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.4169, allocations: 63.42 kB / 0.5253 GB, free: 15.45 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.4171, allocations: 105.6 kB / 0.5254 GB, free: 15.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4171, allocations: 3.938 kB / 0.5254 GB, free: 15.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002748/0.4174, allocations: 150.1 kB / 0.5256 GB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.4174, allocations: 5.203 kB / 0.5256 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.4175, allocations: 1.5 kB / 0.5256 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.4175, allocations: 5.625 kB / 0.5256 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.998e-05/0.4176, allocations: 27.97 kB / 0.5256 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.4176, allocations: 5.094 kB / 0.5256 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.4176, allocations: 3 kB / 0.5256 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.4177, allocations: 8.438 kB / 0.5256 GB, free: 15.3 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 (15): * Single equations (assignments): 15 * 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.0001148/0.4178, allocations: 131.6 kB / 0.5258 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.4178, allocations: 14.81 kB / 0.5258 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.587e-05/0.4179, allocations: 17.06 kB / 0.5258 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.4179, allocations: 2.406 kB / 0.5258 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.4179, allocations: 5.875 kB / 0.5258 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.4179, allocations: 0.7031 kB / 0.5258 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006129/0.4185, allocations: 486.6 kB / 0.5263 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4185, allocations: 5.188 kB / 0.5263 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.006e-05/0.4186, allocations: 21.8 kB / 0.5263 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4186, allocations: 2.641 kB / 0.5263 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.4186, allocations: 3.391 kB / 0.5263 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4186, allocations: 0.75 kB / 0.5263 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4187, allocations: 2.656 kB / 0.5263 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.419, allocations: 267.7 kB / 0.5265 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.419, allocations: 89.8 kB / 0.5266 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.4191, allocations: 2.125 kB / 0.5266 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.661e-05/0.4192, allocations: 7.969 kB / 0.5266 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.4192, allocations: 8.688 kB / 0.5267 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.4192, allocations: 6.625 kB / 0.5267 GB, free: 14.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.4194, allocations: 139.3 kB / 0.5268 GB, free: 14.36 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4194, allocations: 0 / 0.5268 GB, free: 14.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002891/0.4197, allocations: 39.88 kB / 0.5268 GB, free: 14.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.001209/0.4209, allocations: 0.5055 MB / 0.5273 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002662/0.4212, allocations: 97.73 kB / 0.5274 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4212, allocations: 1.375 kB / 0.5274 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.4213, allocations: 50.48 kB / 0.5275 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.4217, allocations: 37.08 kB / 0.5275 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005771/0.4223, allocations: 292.1 kB / 0.5278 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.4226, allocations: 0.7202 MB / 0.5285 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.342e-05/0.4226, allocations: 21.33 kB / 0.5285 GB, free: 13.12 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4226, allocations: 0 / 0.5285 GB, free: 13.12 MB / 398.1 MB Notification: Performance of Templates: time 0.004342/0.427, allocations: 2.36 MB / 0.5308 GB, free: 12.09 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches