Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 107.7 kB / 18.44 MB, free: 4.645 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.001284/0.001284, allocations: 184.1 kB / 19.38 MB, free: 3.723 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.344/1.344, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2134/0.2134, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.84 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3405, allocations: 60.82 MB / 0.5196 GB, free: 3.887 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002869/0.3434, allocations: 1.702 MB / 0.5213 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.3447, allocations: 0.8791 MB / 0.5222 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.757e-05/0.3448, allocations: 5.125 kB / 0.5222 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.3451, allocations: 33.02 kB / 0.5222 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.3453, allocations: 58.42 kB / 0.5223 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.3456, allocations: 105.7 kB / 0.5224 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.3458, allocations: 96.2 kB / 0.5225 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.855e-05/0.3459, allocations: 23.48 kB / 0.5225 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.433e-05/0.346, allocations: 36.84 kB / 0.5225 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.38e-05/0.346, allocations: 34.48 kB / 0.5225 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.3461, allocations: 4.438 kB / 0.5225 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.3462, allocations: 46.45 kB / 0.5226 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.498e-05/0.3462, allocations: 16.91 kB / 0.5226 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.743e-05/0.3463, allocations: 29.08 kB / 0.5226 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.3465, allocations: 107.9 kB / 0.5227 GB, free: 1.809 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3465, allocations: 1.219 kB / 0.5227 GB, free: 1.809 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.3465, allocations: 0 / 0.5227 GB, free: 1.809 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3465, allocations: 0 / 0.5227 GB, free: 1.809 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004587/0.347, allocations: 417.9 kB / 0.5231 GB, free: 1.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.347, allocations: 9.312 kB / 0.5231 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.3471, allocations: 9.734 kB / 0.5232 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.3473, allocations: 206 kB / 0.5234 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.527e-06/0.3473, allocations: 1.562 kB / 0.5234 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.3474, allocations: 11.11 kB / 0.5234 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.3475, allocations: 53.83 kB / 0.5234 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3475, allocations: 0 / 0.5234 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.3475, allocations: 9.703 kB / 0.5234 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3475, allocations: 1.094 kB / 0.5234 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.461e-05/0.3476, allocations: 21.25 kB / 0.5234 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.3479, allocations: 281.6 kB / 0.5237 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.3481, allocations: 52.42 kB / 0.5238 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.767e-05/0.3482, allocations: 24.06 kB / 0.5238 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.3482, allocations: 1.75 kB / 0.5238 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/0.3483, allocations: 68.52 kB / 0.5239 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3483, allocations: 1 kB / 0.5239 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005164/0.3489, allocations: 175.4 kB / 0.524 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.3489, allocations: 57.73 kB / 0.5241 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.3491, allocations: 177.9 kB / 0.5242 GB, free: 448 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.3491, allocations: 27.72 kB / 0.5243 GB, free: 416 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.3491, allocations: 99.75 kB / 0.5244 GB, free: 320 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.3492, allocations: 29.03 kB / 0.5244 GB, free: 296 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.3492, allocations: 21.77 kB / 0.5244 GB, free: 276 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.001e-05/0.3493, allocations: 326.3 kB / 0.5247 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.792e-05/0.3494, allocations: 25.77 kB / 0.5248 GB, free: 15.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.891e-05/0.3494, allocations: 38.78 kB / 0.5248 GB, free: 15.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.3496, allocations: 61.98 kB / 0.5248 GB, free: 15.87 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3496, allocations: 0 / 0.5248 GB, free: 15.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001766/0.3497, allocations: 96.72 kB / 0.5249 GB, free: 15.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3498, allocations: 10.59 kB / 0.525 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3498, allocations: 0 / 0.525 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3498, allocations: 1.344 kB / 0.525 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.905e-05/0.3499, allocations: 16.11 kB / 0.525 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3499, allocations: 4.562 kB / 0.525 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.721e-05/0.35, allocations: 11.56 kB / 0.525 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.35, allocations: 3.516 kB / 0.525 GB, free: 15.8 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 (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 0.0001038/0.3501, allocations: 118.7 kB / 0.5251 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.3501, allocations: 10.62 kB / 0.5251 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.3502, allocations: 13.73 kB / 0.5251 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3502, allocations: 2.125 kB / 0.5251 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.3502, allocations: 1.312 kB / 0.5251 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3502, allocations: 7.938 kB / 0.5251 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.3506, allocations: 389.1 kB / 0.5255 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.3507, allocations: 4 kB / 0.5255 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/0.3507, allocations: 13.64 kB / 0.5255 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3507, allocations: 0 / 0.5255 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.3507, allocations: 11.78 kB / 0.5255 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3507, allocations: 1.344 kB / 0.5255 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3507, allocations: 0 / 0.5255 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.351, allocations: 208.8 kB / 0.5257 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-05/0.3511, allocations: 84.36 kB / 0.5258 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.3511, allocations: 11.19 kB / 0.5258 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.3512, allocations: 2.516 kB / 0.5258 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.3512, allocations: 6.062 kB / 0.5258 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.3513, allocations: 3.969 kB / 0.5258 GB, free: 15.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.3514, allocations: 143.5 kB / 0.526 GB, free: 14.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.473e-06/0.3514, allocations: 3.938 kB / 0.526 GB, free: 14.92 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000258/0.3516, allocations: 26.86 kB / 0.526 GB, free: 14.91 MB / 398.1 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 (8): * Single equations (assignments): 6 * 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.001035/0.3527, allocations: 453.6 kB / 0.5264 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.3529, allocations: 64.72 kB / 0.5265 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3529, allocations: 0 / 0.5265 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.106e-05/0.353, allocations: 25.73 kB / 0.5265 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.3533, allocations: 33.94 kB / 0.5266 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004366/0.3538, allocations: 235.7 kB / 0.5268 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.3541, allocations: 0.7027 MB / 0.5275 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.3541, allocations: 20.5 kB / 0.5275 GB, free: 13.77 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3541, allocations: 0 / 0.5275 GB, free: 13.77 MB / 398.1 MB Notification: Performance of Templates: time 0.003688/0.3578, allocations: 1.881 MB / 0.5293 GB, free: 13.09 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches