Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18.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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009681/0.0009681, allocations: 196.4 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.245/1.245, allocations: 226.6 MB / 243.1 MB, free: 14.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007362/0.0007362, allocations: 98.02 kB / 295.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1916/0.1916, allocations: 44.85 MB / 392 MB, free: 9.281 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000252/0.000252, allocations: 8 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1138, allocations: 62.96 MB / 0.5153 GB, free: 2.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002468/0.1163, allocations: 1.303 MB / 0.5166 GB, free: 1.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.1181, allocations: 1.078 MB / 0.5177 GB, free: 352 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.004e-05/0.1182, allocations: 0 / 0.5177 GB, free: 352 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.1184, allocations: 23.91 kB / 0.5177 GB, free: 328 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.1186, allocations: 71.77 kB / 0.5178 GB, free: 256 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.119, allocations: 91.81 kB / 0.5178 GB, free: 164 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.1192, allocations: 67.81 kB / 0.5179 GB, free: 96 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1193, allocations: 19.97 kB / 0.5179 GB, free: 76 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.49e-05/0.1193, allocations: 27.88 kB / 0.518 GB, free: 48 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.1195, allocations: 37.95 kB / 0.518 GB, free: 12 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.1195, allocations: 0 / 0.518 GB, free: 12 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1899/0.3094, allocations: 78.55 kB / 0.5181 GB, free: 9.895 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.799e-05/0.3095, allocations: 14.17 kB / 0.5181 GB, free: 9.895 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.3096, allocations: 35.67 kB / 0.5181 GB, free: 9.863 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.3098, allocations: 108 kB / 0.5182 GB, free: 9.863 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3098, allocations: 0.5 kB / 0.5182 GB, free: 9.863 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3098, allocations: 0.5938 kB / 0.5182 GB, free: 9.863 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.3098, allocations: 0 / 0.5182 GB, free: 9.863 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004044/0.3102, allocations: 398.9 kB / 0.5186 GB, free: 9.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.3103, allocations: 11.48 kB / 0.5186 GB, free: 9.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.3103, allocations: 8.25 kB / 0.5186 GB, free: 9.477 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.3105, allocations: 201.1 kB / 0.5188 GB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.3105, allocations: 3.078 kB / 0.5188 GB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.3105, allocations: 4.5 kB / 0.5188 GB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.3107, allocations: 81.16 kB / 0.5189 GB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3107, allocations: 4.375 kB / 0.5189 GB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.3107, allocations: 1.75 kB / 0.5189 GB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.3108, allocations: 1.594 kB / 0.5189 GB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.3109, allocations: 41.59 kB / 0.5189 GB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.3113, allocations: 317.2 kB / 0.5192 GB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.3114, allocations: 54.58 kB / 0.5193 GB, free: 8.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.3114, allocations: 23.78 kB / 0.5193 GB, free: 8.922 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.3115, allocations: 4.219 kB / 0.5193 GB, free: 8.922 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.3115, allocations: 33.59 kB / 0.5193 GB, free: 8.883 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3115, allocations: 0.7812 kB / 0.5193 GB, free: 8.883 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006173/0.3121, allocations: 212.3 kB / 0.5196 GB, free: 8.832 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.3122, allocations: 86.88 kB / 0.5196 GB, free: 8.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.3123, allocations: 150.7 kB / 0.5198 GB, free: 8.633 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.3123, allocations: 27.95 kB / 0.5198 GB, free: 8.602 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/0.3124, allocations: 99.23 kB / 0.5199 GB, free: 8.516 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.3124, allocations: 24.84 kB / 0.5199 GB, free: 8.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.3124, allocations: 1.125 kB / 0.5199 GB, free: 8.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.696e-05/0.3125, allocations: 319.7 kB / 0.5202 GB, free: 8.188 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.115e-05/0.3126, allocations: 37.81 kB / 0.5203 GB, free: 8.184 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.625e-05/0.3127, allocations: 47.12 kB / 0.5203 GB, free: 8.168 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.962e-05/0.3127, allocations: 38.91 kB / 0.5203 GB, free: 8.168 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3128, allocations: 0.5625 kB / 0.5203 GB, free: 8.168 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002113/0.313, allocations: 116.7 kB / 0.5205 GB, free: 8.129 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.313, allocations: 5.938 kB / 0.5205 GB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.313, allocations: 0 / 0.5205 GB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.313, allocations: 1.422 kB / 0.5205 GB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.97e-05/0.3131, allocations: 20.28 kB / 0.5205 GB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3131, allocations: 5.734 kB / 0.5205 GB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.3132, allocations: 12.3 kB / 0.5205 GB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.3132, allocations: 4.688 kB / 0.5205 GB, free: 8.121 MB / 346.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 (8): * Single equations (assignments): 8 * 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 6.226e-05/0.3133, allocations: 123.2 kB / 0.5206 GB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.3133, allocations: 9.062 kB / 0.5206 GB, free: 8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.3136, allocations: 146.1 kB / 0.5208 GB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3136, allocations: 1.062 kB / 0.5208 GB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3136, allocations: 0.7031 kB / 0.5208 GB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3136, allocations: 5.359 kB / 0.5208 GB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004054/0.314, allocations: 415.6 kB / 0.5212 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.314, allocations: 1.719 kB / 0.5212 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.742e-05/0.3141, allocations: 17.67 kB / 0.5212 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3141, allocations: 1.125 kB / 0.5212 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.3141, allocations: 5.469 kB / 0.5212 GB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3141, allocations: 1.156 kB / 0.5212 GB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3142, allocations: 0 / 0.5212 GB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.3144, allocations: 216.9 kB / 0.5214 GB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.3144, allocations: 92.17 kB / 0.5215 GB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.3145, allocations: 5.391 kB / 0.5215 GB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.3145, allocations: 11.62 kB / 0.5215 GB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.3146, allocations: 5.906 kB / 0.5215 GB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.3146, allocations: 9.25 kB / 0.5215 GB, free: 7.402 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.336e-05/0.3147, allocations: 115.2 kB / 0.5216 GB, free: 7.328 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3147, allocations: 0 / 0.5216 GB, free: 7.328 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002587/0.3149, allocations: 44 kB / 0.5217 GB, free: 7.32 MB / 346.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 (8): * Single equations (assignments): 8 * 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.0008689/0.3158, allocations: 493.6 kB / 0.5221 GB, free: 7.098 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002388/0.3161, allocations: 81.12 kB / 0.5222 GB, free: 7.094 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3161, allocations: 0 / 0.5222 GB, free: 7.094 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.562e-05/0.3162, allocations: 45.77 kB / 0.5223 GB, free: 7.094 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.3165, allocations: 19.73 kB / 0.5223 GB, free: 7.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003578/0.3168, allocations: 248.8 kB / 0.5225 GB, free: 6.906 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.3169, allocations: 0.7008 MB / 0.5232 GB, free: 6.207 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.022e-05/0.317, allocations: 23.02 kB / 0.5232 GB, free: 6.199 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.317, allocations: 3.938 kB / 0.5232 GB, free: 6.195 MB / 346.7 MB Notification: Performance of Templates: time 0.00383/0.3208, allocations: 2.144 MB / 0.5253 GB, free: 5.961 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches