Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.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.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001135/0.001135, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009696/0.0009696, allocations: 97.77 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3765/0.3765, allocations: 44.83 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 63.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3164, allocations: 62.02 MB / 0.5152 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.00342/0.3198, allocations: 1.645 MB / 0.5168 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.3216, allocations: 1.133 MB / 0.5179 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.189e-05/0.3217, allocations: 0 / 0.5179 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.3219, allocations: 30.91 kB / 0.5179 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.3222, allocations: 62.44 kB / 0.518 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.3225, allocations: 81.02 kB / 0.518 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.3226, allocations: 60.11 kB / 0.5181 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.522e-05/0.3227, allocations: 14.28 kB / 0.5181 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.259e-05/0.3227, allocations: 26.47 kB / 0.5181 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.3229, allocations: 27.91 kB / 0.5182 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.3229, allocations: 6.812 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.3231, allocations: 103.5 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/0.3231, allocations: 9.078 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.284e-05/0.3232, allocations: 26.16 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.3234, allocations: 130 kB / 0.5184 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3234, allocations: 4 kB / 0.5184 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.3234, allocations: 3.375 kB / 0.5184 GB, free: 35.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.3234, allocations: 0 / 0.5184 GB, free: 35.57 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.0004721/0.3239, allocations: 390.2 kB / 0.5188 GB, free: 35.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3239, allocations: 17.97 kB / 0.5188 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.324, allocations: 8 kB / 0.5188 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.3242, allocations: 193 kB / 0.519 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.3242, allocations: 7.406 kB / 0.519 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.3242, allocations: 384 / 0.519 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.3243, allocations: 66.12 kB / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.3244, allocations: 2.906 kB / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3244, allocations: 4 kB / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.3244, allocations: 0 / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.133e-05/0.3245, allocations: 21.48 kB / 0.5191 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.3248, allocations: 277.9 kB / 0.5194 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.325, allocations: 44.02 kB / 0.5194 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.521e-05/0.325, allocations: 17.92 kB / 0.5194 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.3251, allocations: 4 kB / 0.5194 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.3251, allocations: 33.44 kB / 0.5195 GB, free: 34.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.3251, allocations: 0 / 0.5195 GB, free: 34.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004824/0.3256, allocations: 136 kB / 0.5196 GB, free: 34.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.3256, allocations: 77.11 kB / 0.5197 GB, free: 34.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.3258, allocations: 145.4 kB / 0.5198 GB, free: 34.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.3258, allocations: 29.08 kB / 0.5198 GB, free: 34.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.7e-05/0.3258, allocations: 94.75 kB / 0.5199 GB, free: 34.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.3258, allocations: 21.75 kB / 0.5199 GB, free: 34.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.3259, allocations: 22.72 kB / 0.52 GB, free: 34.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.568e-05/0.326, allocations: 320.6 kB / 0.5203 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.131e-05/0.326, allocations: 17.44 kB / 0.5203 GB, free: 33.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.339e-05/0.3261, allocations: 34.8 kB / 0.5203 GB, free: 33.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.3262, allocations: 48.08 kB / 0.5204 GB, free: 33.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3262, allocations: 7.844 kB / 0.5204 GB, free: 33.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000151/0.3264, allocations: 76.78 kB / 0.5204 GB, free: 33.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.3264, allocations: 5.688 kB / 0.5205 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3264, allocations: 0 / 0.5205 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.3264, allocations: 0 / 0.5205 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.458e-05/0.3265, allocations: 16.08 kB / 0.5205 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3265, allocations: 2.875 kB / 0.5205 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.973e-05/0.3265, allocations: 10.78 kB / 0.5205 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.3265, allocations: 3.938 kB / 0.5205 GB, free: 33.64 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.168e-05/0.3266, allocations: 119.7 kB / 0.5206 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.3266, allocations: 6.656 kB / 0.5206 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.3269, allocations: 97.23 kB / 0.5207 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3269, allocations: 0 / 0.5207 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3269, allocations: 2.875 kB / 0.5207 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3269, allocations: 0 / 0.5207 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.3272, allocations: 349 kB / 0.521 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3272, allocations: 0 / 0.521 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.891e-05/0.3273, allocations: 12.12 kB / 0.521 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3273, allocations: 2.812 kB / 0.521 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.3273, allocations: 8 kB / 0.5211 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.3273, allocations: 3.938 kB / 0.5211 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3273, allocations: 0 / 0.5211 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.3277, allocations: 0.7595 MB / 0.5218 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.752e-05/0.3277, allocations: 87.89 kB / 0.5219 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.3278, allocations: 0 / 0.5219 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.3278, allocations: 9.312 kB / 0.5219 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.3279, allocations: 4 kB / 0.5219 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.3279, allocations: 2.781 kB / 0.5219 GB, free: 32.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.8e-05/0.328, allocations: 114.1 kB / 0.522 GB, free: 32.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.328, allocations: 0 / 0.522 GB, free: 32.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003577/0.3283, allocations: 43.17 kB / 0.522 GB, free: 32.18 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 (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.001084/0.3294, allocations: 482.6 kB / 0.5225 GB, free: 31.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.3296, allocations: 52.02 kB / 0.5226 GB, free: 31.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3296, allocations: 0 / 0.5226 GB, free: 31.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.881e-05/0.3297, allocations: 25.19 kB / 0.5226 GB, free: 31.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.33, allocations: 15.81 kB / 0.5226 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003625/0.3304, allocations: 302 kB / 0.5229 GB, free: 31.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.3306, allocations: 0.6896 MB / 0.5236 GB, free: 30.94 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.38e-05/0.3306, allocations: 13.03 kB / 0.5236 GB, free: 30.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.3307, allocations: 24.44 kB / 0.5236 GB, free: 30.92 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3307, allocations: 4 kB / 0.5236 GB, free: 30.91 MB / 378.7 MB Notification: Performance of Templates: time 0.003891/0.3346, allocations: 1.735 MB / 0.5253 GB, free: 30.71 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches