Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001513/0.001513, allocations: 188.4 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.89/1.89, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 91.23 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5308/0.5308, allocations: 43.55 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004813/0.0004814, allocations: 20 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1272, allocations: 58.84 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.46/0.5872, allocations: 88.7 MB / 0.5654 GB, free: 14.01 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.5875, allocations: 73.05 kB / 0.5654 GB, free: 13.94 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01921/0.6068, allocations: 4.267 MB / 0.5696 GB, free: 9.719 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6068, allocations: 0 / 0.5696 GB, free: 9.719 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.114e-05/0.6069, allocations: 4 kB / 0.5696 GB, free: 9.715 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008514/0.6077, allocations: 480.2 kB / 0.5701 GB, free: 9.195 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.6078, allocations: 8.031 kB / 0.5701 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.932e-05/0.6079, allocations: 19.25 kB / 0.5701 GB, free: 9.172 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.6083, allocations: 239.6 kB / 0.5703 GB, free: 8.902 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.6083, allocations: 0 / 0.5703 GB, free: 8.902 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.6084, allocations: 16 kB / 0.5703 GB, free: 8.887 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003237/0.6087, allocations: 104.2 kB / 0.5704 GB, free: 8.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.6087, allocations: 0 / 0.5704 GB, free: 8.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.6088, allocations: 4 kB / 0.5704 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.6088, allocations: 4.969 kB / 0.5704 GB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/0.6091, allocations: 55.95 kB / 0.5705 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008361/0.6099, allocations: 0.5204 MB / 0.571 GB, free: 8.133 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005048/0.6104, allocations: 90.67 kB / 0.5711 GB, free: 8.035 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.6105, allocations: 0 / 0.5711 GB, free: 8.035 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002858/0.6108, allocations: 91.2 kB / 0.5712 GB, free: 7.934 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.114e-06/0.6108, allocations: 4 kB / 0.5712 GB, free: 7.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006354/0.6114, allocations: 153.4 kB / 0.5713 GB, free: 7.773 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.6115, allocations: 51.41 kB / 0.5714 GB, free: 7.711 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/0.6118, allocations: 174.6 kB / 0.5715 GB, free: 7.527 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.6118, allocations: 29.7 kB / 0.5716 GB, free: 7.492 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.6119, allocations: 182.3 kB / 0.5717 GB, free: 7.312 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.612, allocations: 27.64 kB / 0.5718 GB, free: 7.285 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/0.612, allocations: 7.938 kB / 0.5718 GB, free: 7.277 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.6121, allocations: 314.8 kB / 0.5721 GB, free: 6.961 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.6123, allocations: 31.97 kB / 0.5721 GB, free: 6.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.6125, allocations: 73.94 kB / 0.5722 GB, free: 6.844 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.6127, allocations: 36.73 kB / 0.5722 GB, free: 6.809 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.6127, allocations: 0 / 0.5722 GB, free: 6.809 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004503/0.6132, allocations: 133.9 kB / 0.5723 GB, free: 6.672 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.6132, allocations: 4 kB / 0.5723 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.6132, allocations: 4.094 kB / 0.5723 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.6132, allocations: 7.891 kB / 0.5723 GB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.6134, allocations: 31.92 kB / 0.5724 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.6135, allocations: 4.547 kB / 0.5724 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.6136, allocations: 7.984 kB / 0.5724 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.6137, allocations: 4 kB / 0.5724 GB, free: 6.609 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001689/0.6138, allocations: 137 kB / 0.5725 GB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/0.6139, allocations: 15.81 kB / 0.5725 GB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005041/0.6144, allocations: 139 kB / 0.5727 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.6144, allocations: 4 kB / 0.5727 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.6144, allocations: 3.953 kB / 0.5727 GB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.6145, allocations: 0 / 0.5727 GB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.6147, allocations: 221.6 kB / 0.5729 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6147, allocations: 0 / 0.5729 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.6149, allocations: 19.92 kB / 0.5729 GB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.6149, allocations: 0 / 0.5729 GB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.615, allocations: 4 kB / 0.5729 GB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.615, allocations: 0 / 0.5729 GB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.615, allocations: 3.984 kB / 0.5729 GB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006404/0.6156, allocations: 200.9 kB / 0.5731 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.573e-05/0.6157, allocations: 96.94 kB / 0.5732 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.6158, allocations: 0 / 0.5732 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.6159, allocations: 8 kB / 0.5732 GB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.616, allocations: 11.98 kB / 0.5732 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.616, allocations: 0 / 0.5732 GB, free: 5.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001939/0.6162, allocations: 153.2 kB / 0.5734 GB, free: 5.512 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6162, allocations: 3.938 kB / 0.5734 GB, free: 5.508 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003463/0.6166, allocations: 32.06 kB / 0.5734 GB, free: 5.477 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001218/0.6178, allocations: 424.1 kB / 0.5738 GB, free: 5.152 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004489/0.6183, allocations: 83.84 kB / 0.5739 GB, free: 5.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.6183, allocations: 4.25 kB / 0.5739 GB, free: 5.066 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.6185, allocations: 47.91 kB / 0.5739 GB, free: 5.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.6189, allocations: 36.47 kB / 0.574 GB, free: 4.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007847/0.6197, allocations: 325.9 kB / 0.5743 GB, free: 4.641 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.62, allocations: 0.7126 MB / 0.575 GB, free: 3.902 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.811e-05/0.6201, allocations: 27.42 kB / 0.575 GB, free: 3.875 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6202, allocations: 0 / 0.575 GB, free: 3.875 MB / 394.7 MB Notification: Performance of Templates: time 0.006058/0.6262, allocations: 2.165 MB / 0.5771 GB, free: 1.719 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches