Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 110 kB / 17.86 MB, free: 5.504 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.001614/0.001614, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.307/1.307, allocations: 222.9 MB / 242.5 MB, free: 13.63 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.1925/0.1925, allocations: 44.18 MB / 336.8 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 64.22 kB / 408.4 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1121, allocations: 60.84 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003097/0.1152, allocations: 1.714 MB / 470.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.1166, allocations: 0.842 MB / 471.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.208e-05/0.1167, allocations: 7.938 kB / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.117, allocations: 51.86 kB / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.1172, allocations: 55.75 kB / 471.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.1174, allocations: 95.02 kB / 472 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.1176, allocations: 95.69 kB / 472 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.461e-05/0.1177, allocations: 4 kB / 472.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.988e-05/0.1178, allocations: 43.78 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.627e-05/0.1178, allocations: 31.84 kB / 472.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.1179, allocations: 0 / 472.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.937e-05/0.1179, allocations: 31.92 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.581e-05/0.118, allocations: 19.92 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.099e-05/0.1181, allocations: 35.69 kB / 472.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.1182, allocations: 96.09 kB / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1182, allocations: 4 kB / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1182, allocations: 0 / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.1183, allocations: 0 / 472.3 MB, free: 11.66 MB / 350.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.0005451/0.1188, allocations: 422.9 kB / 472.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1188, allocations: 12.03 kB / 472.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.962e-05/0.1189, allocations: 16.69 kB / 472.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.1191, allocations: 219.9 kB / 473 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.1192, allocations: 4.375 kB / 473 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.1192, allocations: 8.125 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.1193, allocations: 53.67 kB / 473 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.1193, allocations: 0 / 473 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.1194, allocations: 0 / 473 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1194, allocations: 0 / 473 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.822e-05/0.1194, allocations: 15.98 kB / 473 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.1196, allocations: 185.7 kB / 473.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.1198, allocations: 58.56 kB / 473.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.379e-05/0.1199, allocations: 24.78 kB / 473.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.1199, allocations: 4 kB / 473.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001933/0.1201, allocations: 59.39 kB / 473.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.1201, allocations: 0 / 473.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002868/0.1204, allocations: 101.4 kB / 473.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.1205, allocations: 55.41 kB / 473.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.1207, allocations: 262.9 kB / 473.8 MB, free: 9.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1208, allocations: 29.7 kB / 473.8 MB, free: 9.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.3e-05/0.1208, allocations: 112.1 kB / 473.9 MB, free: 9.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.1209, allocations: 7.906 kB / 473.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.1209, allocations: 21.7 kB / 473.9 MB, free: 9.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.121, allocations: 330.8 kB / 474.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.239e-05/0.1211, allocations: 12 kB / 474.3 MB, free: 9.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.867e-05/0.1212, allocations: 29.7 kB / 474.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.95e-05/0.1213, allocations: 49.64 kB / 474.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1213, allocations: 3.938 kB / 474.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001796/0.1215, allocations: 85.75 kB / 474.4 MB, free: 9.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1215, allocations: 4 kB / 474.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1215, allocations: 4 kB / 474.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1215, allocations: 4.031 kB / 474.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.908e-05/0.1216, allocations: 19.92 kB / 474.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.1216, allocations: 0 / 474.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.198e-05/0.1217, allocations: 7.938 kB / 474.5 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1217, allocations: 7.938 kB / 474.5 MB, free: 9.238 MB / 350.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.0001092/0.1218, allocations: 133.8 kB / 474.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.1218, allocations: 15.8 kB / 474.6 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.1219, allocations: 20.98 kB / 474.7 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1219, allocations: 0 / 474.7 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1219, allocations: 4 kB / 474.7 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1219, allocations: 0 / 474.7 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.1221, allocations: 205.5 kB / 474.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1221, allocations: 0 / 474.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.04e-05/0.1221, allocations: 4 kB / 474.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1221, allocations: 0 / 474.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.1221, allocations: 0 / 474.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1221, allocations: 0 / 474.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1221, allocations: 0 / 474.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.1223, allocations: 124.8 kB / 475 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.166e-05/0.1224, allocations: 88.92 kB / 475.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.1224, allocations: 3.984 kB / 475.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.731e-05/0.1224, allocations: 0 / 475.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.1225, allocations: 4 kB / 475.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.1225, allocations: 0 / 475.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001626/0.1227, allocations: 204.2 kB / 475.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1227, allocations: 0 / 475.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.1229, allocations: 20 kB / 475.3 MB, free: 8.328 MB / 350.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.0009364/0.1238, allocations: 414.4 kB / 475.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001516/0.124, allocations: 35.92 kB / 475.7 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.124, allocations: 4 kB / 475.7 MB, free: 8.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.351e-05/0.1241, allocations: 19.98 kB / 475.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.1244, allocations: 29.75 kB / 475.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005117/0.1249, allocations: 302.5 kB / 476.1 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.1252, allocations: 0.7227 MB / 476.8 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.1252, allocations: 11.44 kB / 476.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1252, allocations: 0 / 476.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of Templates: time 0.003812/0.129, allocations: 1.832 MB / 478.7 MB, free: 5.074 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches