Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009476/0.0009476, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001303/0.00225, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001513/0.00253, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9253/0.9253, allocations: 158.6 MB / 171 MB, free: 2.18 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1849/1.11, allocations: 49.5 MB / 220.5 MB, free: 5.273 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1396/0.1396, allocations: 32.34 MB / 253.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02344/0.163, allocations: 12.3 MB / 265.9 MB, free: 7.84 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.096e-06/3.096e-06, allocations: 4 kB / 267.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.995e-05, allocations: 6.25 kB / 267.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.005735/0.005765, allocations: 1.77 MB / 269.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.007836, allocations: 1.552 MB / 270.6 MB, free: 3.098 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.113e-05/0.007887, allocations: 0 / 270.6 MB, free: 3.098 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.008035, allocations: 39.77 kB / 270.7 MB, free: 3.059 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.008221, allocations: 59.64 kB / 270.7 MB, free: 3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.008485, allocations: 83.69 kB / 270.8 MB, free: 2.918 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.008647, allocations: 107.6 kB / 270.9 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.862e-05/0.008725, allocations: 8.234 kB / 270.9 MB, free: 2.805 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.008855, allocations: 71.84 kB / 271 MB, free: 2.734 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.008963, allocations: 31.89 kB / 271 MB, free: 2.703 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.008981, allocations: 4 kB / 271 MB, free: 2.699 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.00913, allocations: 59.91 kB / 271.1 MB, free: 2.641 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.102e-05/0.009171, allocations: 15.94 kB / 271.1 MB, free: 2.625 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.0092, allocations: 8 kB / 271.1 MB, free: 2.617 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.009389, allocations: 115.5 kB / 271.2 MB, free: 2.504 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.597e-05/0.009405, allocations: 3.984 kB / 271.2 MB, free: 2.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.009406, allocations: 0 / 271.2 MB, free: 2.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.009421, allocations: 4 kB / 271.2 MB, free: 2.496 MB / 266.7 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.0004452/0.009867, allocations: 316 kB / 271.5 MB, free: 2.164 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.009897, allocations: 12.03 kB / 271.5 MB, free: 2.152 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.009933, allocations: 12.92 kB / 271.6 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.01009, allocations: 137.6 kB / 271.7 MB, free: 1.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.01011, allocations: 384 / 271.7 MB, free: 1.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.01013, allocations: 8.375 kB / 271.7 MB, free: 1.973 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.01027, allocations: 105.2 kB / 271.8 MB, free: 1.848 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.01028, allocations: 7.875 kB / 271.8 MB, free: 1.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.01028, allocations: 4 kB / 271.8 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.01029, allocations: 4 kB / 271.8 MB, free: 1.832 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.21e-05/0.01032, allocations: 10.83 kB / 271.8 MB, free: 1.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002064/0.01053, allocations: 161.9 kB / 272 MB, free: 1.645 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.631e-05/0.01062, allocations: 85.28 kB / 272.1 MB, free: 1.551 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.408e-05/0.01065, allocations: 20.91 kB / 272.1 MB, free: 1.527 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.01066, allocations: 0 / 272.1 MB, free: 1.527 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/0.01076, allocations: 66.16 kB / 272.2 MB, free: 1.449 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 7.01e-07/0.01076, allocations: 0 / 272.2 MB, free: 1.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002975/0.01106, allocations: 121.5 kB / 272.3 MB, free: 1.324 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.01109, allocations: 55.39 kB / 272.3 MB, free: 1.258 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.01119, allocations: 152.3 kB / 272.5 MB, free: 1.094 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.01121, allocations: 25.7 kB / 272.5 MB, free: 1.062 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.01124, allocations: 95.97 kB / 272.6 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.01127, allocations: 27.73 kB / 272.6 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.01132, allocations: 29.69 kB / 272.6 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.203e-05/0.01141, allocations: 322.8 kB / 273 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.558e-05/0.01142, allocations: 6.828 kB / 273 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.334e-05/0.01147, allocations: 60.25 kB / 273 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.665e-05/0.01151, allocations: 40.56 kB / 273.1 MB, free: 460 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.01152, allocations: 0 / 273.1 MB, free: 460 kB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.7e-05/0.0116, allocations: 80.34 kB / 273.1 MB, free: 372 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.01161, allocations: 8 kB / 273.2 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.01162, allocations: 0 / 273.2 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.255e-06/0.01163, allocations: 0 / 273.2 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.178e-05/0.0117, allocations: 23.92 kB / 273.2 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.0117, allocations: 0 / 273.2 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.22e-05/0.01173, allocations: 4 kB / 273.2 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.01174, allocations: 0 / 273.2 MB, free: 336 kB / 266.7 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 6.64e-05/0.0118, allocations: 120.7 kB / 273.3 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/0.01182, allocations: 15.92 kB / 273.3 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.01193, allocations: 78.34 kB / 273.4 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.01193, allocations: 0 / 273.4 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01193, allocations: 0 / 273.4 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.01193, allocations: 3.984 kB / 273.4 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.01218, allocations: 287.4 kB / 273.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.01219, allocations: 0 / 273.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.313e-05/0.01222, allocations: 16 kB / 273.7 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.01223, allocations: 11.98 kB / 273.7 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01223, allocations: 0 / 273.7 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.01224, allocations: 3.984 kB / 273.7 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.01224, allocations: 4.375 kB / 273.7 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01224, allocations: 0 / 273.7 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.01236, allocations: 215 kB / 273.9 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.01238, allocations: 8 kB / 273.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.453e-05/0.01244, allocations: 4 kB / 273.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.01246, allocations: 7.984 kB / 273.9 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.01247, allocations: 4 kB / 273.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.645e-05/0.01251, allocations: 35.66 kB / 274 MB, free: 15.46 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01251, allocations: 4 kB / 274 MB, free: 15.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000218/0.01273, allocations: 31.94 kB / 274 MB, free: 15.43 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001764/0.01449, allocations: 0.6916 MB / 274.7 MB, free: 14.72 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001126/0.0146, allocations: 44.78 kB / 274.8 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.01461, allocations: 3.938 kB / 274.8 MB, free: 14.67 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.62e-05/0.01465, allocations: 32.83 kB / 274.8 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.01486, allocations: 31.92 kB / 274.8 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004696/0.01533, allocations: 202.3 kB / 275 MB, free: 14.38 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.306e-05/0.01538, allocations: 71.27 kB / 275.1 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.847e-05/0.01543, allocations: 20.73 kB / 275.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.669e-05/0.01552, allocations: 83.33 kB / 275.2 MB, free: 14.19 MB / 282.7 MB Notification: Performance of SimCode: time 4.1e-07/0.01552, allocations: 0 / 275.2 MB, free: 14.19 MB / 282.7 MB Notification: Performance of Templates: time 0.004143/0.01966, allocations: 2.332 MB / 277.5 MB, free: 11.85 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.823456902988255]