Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001075/0.001075, allocations: 188.9 kB / 16.09 MB, free: 5.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 226.5 MB / 243.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007746/0.0007745, allocations: 92.12 kB / 295.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3453/0.3453, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003443, allocations: 8.219 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3322, allocations: 62.96 MB / 0.5159 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.001536/0.3337, allocations: 1.428 MB / 0.5173 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.335, allocations: 0.9444 MB / 0.5182 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.335, allocations: 3 kB / 0.5182 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.3353, allocations: 38.34 kB / 0.5182 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.3355, allocations: 76.86 kB / 0.5183 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.3358, allocations: 93.31 kB / 0.5184 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.3359, allocations: 96.7 kB / 0.5185 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.868e-05/0.336, allocations: 10.58 kB / 0.5185 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.884e-05/0.3361, allocations: 38.58 kB / 0.5185 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.117e-05/0.3361, allocations: 26.39 kB / 0.5186 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.3362, allocations: 2.844 kB / 0.5186 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.692e-05/0.3362, allocations: 38.34 kB / 0.5186 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.895e-05/0.3363, allocations: 17.77 kB / 0.5186 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.839e-05/0.3363, allocations: 61.5 kB / 0.5187 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.3365, allocations: 94.56 kB / 0.5188 GB, free: 35.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3365, allocations: 0 / 0.5188 GB, free: 35.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3365, allocations: 0 / 0.5188 GB, free: 35.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.3365, allocations: 7.938 kB / 0.5188 GB, free: 35.25 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004025/0.3369, allocations: 393 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.3369, allocations: 8.594 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.337, allocations: 14.59 kB / 0.5192 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.3372, allocations: 210.8 kB / 0.5194 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.3372, allocations: 3.406 kB / 0.5194 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.3372, allocations: 8.125 kB / 0.5194 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.3373, allocations: 51.44 kB / 0.5194 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3373, allocations: 6.906 kB / 0.5194 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.3374, allocations: 7.938 kB / 0.5195 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3374, allocations: 0 / 0.5195 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.306e-05/0.3374, allocations: 18.94 kB / 0.5195 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002699/0.3377, allocations: 285.7 kB / 0.5197 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.3379, allocations: 64.53 kB / 0.5198 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.341e-05/0.3379, allocations: 21.14 kB / 0.5198 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.3379, allocations: 0 / 0.5198 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001396/0.3381, allocations: 77.53 kB / 0.5199 GB, free: 34.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3381, allocations: 0 / 0.5199 GB, free: 34.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000441/0.3385, allocations: 170.4 kB / 0.5201 GB, free: 34.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.3386, allocations: 55.41 kB / 0.5201 GB, free: 34.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.3387, allocations: 197.9 kB / 0.5203 GB, free: 33.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.3387, allocations: 28.64 kB / 0.5203 GB, free: 33.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.265e-05/0.3388, allocations: 102.5 kB / 0.5204 GB, free: 33.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.3388, allocations: 32.92 kB / 0.5205 GB, free: 33.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-06/0.3388, allocations: 4 kB / 0.5205 GB, free: 33.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.282e-05/0.3389, allocations: 325.2 kB / 0.5208 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.987e-05/0.3389, allocations: 18.52 kB / 0.5208 GB, free: 33.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.598e-05/0.339, allocations: 40.97 kB / 0.5208 GB, free: 33.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.252e-05/0.3391, allocations: 55.48 kB / 0.5209 GB, free: 33.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3391, allocations: 0 / 0.5209 GB, free: 33.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001466/0.3392, allocations: 97.33 kB / 0.521 GB, free: 33.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3393, allocations: 6.844 kB / 0.521 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3393, allocations: 3.328 kB / 0.521 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3393, allocations: 0 / 0.521 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.085e-05/0.3394, allocations: 18.69 kB / 0.521 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3394, allocations: 3.938 kB / 0.521 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.598e-05/0.3394, allocations: 14.3 kB / 0.521 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.3395, allocations: 2.781 kB / 0.521 GB, free: 33.27 MB / 378.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.236e-05/0.3395, allocations: 126.3 kB / 0.5211 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.3396, allocations: 17.12 kB / 0.5212 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.3396, allocations: 15.34 kB / 0.5212 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3396, allocations: 0 / 0.5212 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3396, allocations: 2.844 kB / 0.5212 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3396, allocations: 7.938 kB / 0.5212 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.3399, allocations: 394.3 kB / 0.5216 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.34, allocations: 6.312 kB / 0.5216 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.986e-05/0.34, allocations: 12.03 kB / 0.5216 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.34, allocations: 0 / 0.5216 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.34, allocations: 3.938 kB / 0.5216 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.34, allocations: 3 kB / 0.5216 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.34, allocations: 0 / 0.5216 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.3402, allocations: 215 kB / 0.5218 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.3402, allocations: 87.89 kB / 0.5219 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.3403, allocations: 6.781 kB / 0.5219 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.659e-05/0.3403, allocations: 3.703 kB / 0.5219 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.3404, allocations: 5.344 kB / 0.5219 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.3404, allocations: 14.27 kB / 0.5219 GB, free: 32.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.957e-05/0.3405, allocations: 143.1 kB / 0.522 GB, free: 32.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3405, allocations: 0 / 0.522 GB, free: 32.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00023/0.3407, allocations: 28.97 kB / 0.5221 GB, free: 32.37 MB / 378.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 (8): * Single equations (assignments): 6 * 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.0009255/0.3417, allocations: 460.7 kB / 0.5225 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.3418, allocations: 53.42 kB / 0.5226 GB, free: 32.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3418, allocations: 0 / 0.5226 GB, free: 32.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.531e-05/0.3419, allocations: 33.14 kB / 0.5226 GB, free: 32.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.3423, allocations: 30.67 kB / 0.5226 GB, free: 32.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004095/0.3427, allocations: 283.9 kB / 0.5229 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.3428, allocations: 0.7061 MB / 0.5236 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.3429, allocations: 17 kB / 0.5236 GB, free: 31.17 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3429, allocations: 2.625 kB / 0.5236 GB, free: 31.17 MB / 378.7 MB Notification: Performance of Templates: time 0.003041/0.3459, allocations: 1.927 MB / 0.5255 GB, free: 30.96 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches