Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.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.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001534/0.001534, allocations: 181.8 kB / 15.76 MB, free: 6.367 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.695/1.695, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001259/0.001259, allocations: 94.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2682/0.2682, allocations: 43.55 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.0003209, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1419, allocations: 58.86 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.465/0.607, allocations: 86.34 MB / 0.5631 GB, free: 13.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.6074, allocations: 73.23 kB / 0.5631 GB, free: 13.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009463/0.6168, allocations: 3.578 MB / 0.5666 GB, free: 10.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6169, allocations: 4 kB / 0.5666 GB, free: 10.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.6169, allocations: 0 / 0.5666 GB, free: 10.37 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004562/0.6174, allocations: 393 kB / 0.567 GB, free: 9.941 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.6174, allocations: 12.02 kB / 0.567 GB, free: 9.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.6175, allocations: 7.906 kB / 0.567 GB, free: 9.922 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.6177, allocations: 205 kB / 0.5672 GB, free: 9.691 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.6177, allocations: 0 / 0.5672 GB, free: 9.691 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.6177, allocations: 0 / 0.5672 GB, free: 9.691 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.6179, allocations: 52.19 kB / 0.5673 GB, free: 9.641 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.6179, allocations: 0 / 0.5673 GB, free: 9.641 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.6179, allocations: 0 / 0.5673 GB, free: 9.641 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.6179, allocations: 7.984 kB / 0.5673 GB, free: 9.633 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.066e-05/0.618, allocations: 27.11 kB / 0.5673 GB, free: 9.609 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.6184, allocations: 274.4 kB / 0.5676 GB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.6186, allocations: 46.42 kB / 0.5676 GB, free: 9.258 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.6187, allocations: 4 kB / 0.5676 GB, free: 9.254 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.6187, allocations: 34.5 kB / 0.5677 GB, free: 9.211 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.6187, allocations: 0 / 0.5677 GB, free: 9.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000547/0.6193, allocations: 153.6 kB / 0.5678 GB, free: 9.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.6193, allocations: 55.16 kB / 0.5679 GB, free: 9.008 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.6195, allocations: 139 kB / 0.568 GB, free: 8.871 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.6195, allocations: 33.08 kB / 0.568 GB, free: 8.836 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.6196, allocations: 98.16 kB / 0.5681 GB, free: 8.742 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.6196, allocations: 19.19 kB / 0.5681 GB, free: 8.727 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.6196, allocations: 0 / 0.5681 GB, free: 8.727 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.6197, allocations: 318.3 kB / 0.5684 GB, free: 8.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.949e-05/0.6198, allocations: 23.36 kB / 0.5685 GB, free: 8.391 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.713e-05/0.6199, allocations: 27.23 kB / 0.5685 GB, free: 8.367 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.45e-05/0.62, allocations: 22.98 kB / 0.5685 GB, free: 8.348 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.62, allocations: 0 / 0.5685 GB, free: 8.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001711/0.6201, allocations: 87.02 kB / 0.5686 GB, free: 8.266 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.6202, allocations: 8 kB / 0.5686 GB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.6202, allocations: 3.938 kB / 0.5686 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.6202, allocations: 0 / 0.5686 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.501e-05/0.6203, allocations: 19.92 kB / 0.5686 GB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.6203, allocations: 256 / 0.5686 GB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.22e-05/0.6203, allocations: 7.062 kB / 0.5686 GB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.6204, allocations: 11.95 kB / 0.5686 GB, free: 8.219 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.374e-05/0.6205, allocations: 121.3 kB / 0.5688 GB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.6205, allocations: 7.906 kB / 0.5688 GB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.6207, allocations: 99.14 kB / 0.5689 GB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.6208, allocations: 0 / 0.5689 GB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.6208, allocations: 0 / 0.5689 GB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.6209, allocations: 4 kB / 0.5689 GB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004326/0.6213, allocations: 360.9 kB / 0.5692 GB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.6213, allocations: 4 kB / 0.5692 GB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/0.6214, allocations: 8 kB / 0.5692 GB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.6214, allocations: 0 / 0.5692 GB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.6214, allocations: 11.56 kB / 0.5692 GB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6214, allocations: 0 / 0.5692 GB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.6214, allocations: 3.984 kB / 0.5692 GB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.6217, allocations: 189.3 kB / 0.5694 GB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.726e-05/0.6217, allocations: 92.77 kB / 0.5695 GB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.6217, allocations: 3.984 kB / 0.5695 GB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.681e-05/0.6218, allocations: 4 kB / 0.5695 GB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.6219, allocations: 4 kB / 0.5695 GB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.6219, allocations: 3.984 kB / 0.5695 GB, free: 7.273 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.884e-05/0.622, allocations: 120.3 kB / 0.5696 GB, free: 7.168 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.622, allocations: 0 / 0.5696 GB, free: 7.168 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002377/0.6222, allocations: 19.48 kB / 0.5696 GB, free: 7.152 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009673/0.6232, allocations: 408.8 kB / 0.57 GB, free: 6.805 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.6234, allocations: 58.77 kB / 0.5701 GB, free: 6.758 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6234, allocations: 0 / 0.5701 GB, free: 6.758 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.997e-05/0.6235, allocations: 31.61 kB / 0.5701 GB, free: 6.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.6237, allocations: 11.38 kB / 0.5701 GB, free: 6.723 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/0.6241, allocations: 187.2 kB / 0.5703 GB, free: 6.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.6244, allocations: 0.7004 MB / 0.571 GB, free: 5.793 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.518e-05/0.6244, allocations: 8.188 kB / 0.571 GB, free: 5.785 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.6245, allocations: 14.94 kB / 0.571 GB, free: 5.773 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.6245, allocations: 0 / 0.571 GB, free: 5.773 MB / 378.7 MB Notification: Performance of Templates: time 0.003492/0.628, allocations: 1.043 MB / 0.572 GB, free: 4.742 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches