Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 199.8 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 226.6 MB / 243.4 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008057/0.0008056, allocations: 103.1 kB / 295.5 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3435/0.3435, allocations: 44.82 MB / 392.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.0003169, allocations: 15.98 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3203, allocations: 62.96 MB / 0.5159 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002272/0.3226, allocations: 1.382 MB / 0.5172 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.3246, allocations: 0.9382 MB / 0.5182 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.696e-05/0.3247, allocations: 0 / 0.5182 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003387/0.325, allocations: 59.64 kB / 0.5182 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003492/0.3254, allocations: 83.47 kB / 0.5183 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.3257, allocations: 90.66 kB / 0.5184 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.3259, allocations: 93 kB / 0.5185 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.463e-05/0.326, allocations: 4.031 kB / 0.5185 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.3261, allocations: 42.92 kB / 0.5185 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.3262, allocations: 50.73 kB / 0.5186 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.3263, allocations: 2.781 kB / 0.5186 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.448e-05/0.3264, allocations: 24.97 kB / 0.5186 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.937e-05/0.3264, allocations: 15.92 kB / 0.5186 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.448e-05/0.3265, allocations: 58.14 kB / 0.5187 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.3267, allocations: 76.98 kB / 0.5187 GB, free: 35.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3267, allocations: 0 / 0.5187 GB, free: 35.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3267, allocations: 3.156 kB / 0.5187 GB, free: 35.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.3267, allocations: 0 / 0.5187 GB, free: 35.14 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004871/0.3272, allocations: 395.3 kB / 0.5191 GB, free: 34.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3273, allocations: 8.719 kB / 0.5191 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.3273, allocations: 14.44 kB / 0.5191 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.3275, allocations: 210.7 kB / 0.5193 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.3276, allocations: 4.375 kB / 0.5193 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.3276, allocations: 4.125 kB / 0.5193 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.3278, allocations: 48.3 kB / 0.5194 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.3278, allocations: 0 / 0.5194 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.3278, allocations: 0 / 0.5194 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3278, allocations: 4 kB / 0.5194 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.353e-05/0.3279, allocations: 20.14 kB / 0.5194 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001849/0.3281, allocations: 182.1 kB / 0.5196 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.3283, allocations: 50.33 kB / 0.5196 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.236e-05/0.3284, allocations: 21.94 kB / 0.5197 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.3285, allocations: 2.719 kB / 0.5197 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001864/0.3287, allocations: 65.31 kB / 0.5197 GB, free: 34.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.744e-06/0.3287, allocations: 7.875 kB / 0.5197 GB, free: 34.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003592/0.3291, allocations: 95.67 kB / 0.5198 GB, free: 34.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.3291, allocations: 51.41 kB / 0.5199 GB, free: 34.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.3293, allocations: 204 kB / 0.5201 GB, free: 33.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.3294, allocations: 25.7 kB / 0.5201 GB, free: 33.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/0.3294, allocations: 102.3 kB / 0.5202 GB, free: 33.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.3295, allocations: 14.84 kB / 0.5202 GB, free: 33.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.3295, allocations: 0 / 0.5202 GB, free: 33.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.532e-05/0.3295, allocations: 328.1 kB / 0.5205 GB, free: 33.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.993e-05/0.3296, allocations: 13.22 kB / 0.5205 GB, free: 33.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.467e-05/0.3297, allocations: 34.03 kB / 0.5206 GB, free: 33.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.3299, allocations: 54.97 kB / 0.5206 GB, free: 33.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3299, allocations: 0 / 0.5206 GB, free: 33.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002303/0.3302, allocations: 88.69 kB / 0.5207 GB, free: 33.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3302, allocations: 3 kB / 0.5207 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3302, allocations: 0 / 0.5207 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3302, allocations: 3.094 kB / 0.5207 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.3303, allocations: 15.95 kB / 0.5207 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.3304, allocations: 0 / 0.5207 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.752e-05/0.3304, allocations: 2.875 kB / 0.5207 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.3305, allocations: 2.75 kB / 0.5207 GB, free: 33.31 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 (7): * Single equations (assignments): 7 * 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.299e-05/0.3306, allocations: 130.2 kB / 0.5208 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.3306, allocations: 9.875 kB / 0.5209 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.394e-05/0.3306, allocations: 15.08 kB / 0.5209 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3307, allocations: 0 / 0.5209 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3307, allocations: 2.906 kB / 0.5209 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3307, allocations: 0 / 0.5209 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.3308, allocations: 192.4 kB / 0.5211 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3309, allocations: 0 / 0.5211 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.17e-05/0.3309, allocations: 7.688 kB / 0.5211 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3309, allocations: 4 kB / 0.5211 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.3309, allocations: 4 kB / 0.5211 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.331, allocations: 0 / 0.5211 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.331, allocations: 0 / 0.5211 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.3312, allocations: 113.2 kB / 0.5212 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.3313, allocations: 88.05 kB / 0.5213 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.3313, allocations: 4.062 kB / 0.5213 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.578e-05/0.3314, allocations: 14.34 kB / 0.5213 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.3314, allocations: 2.969 kB / 0.5213 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.3315, allocations: 2.875 kB / 0.5213 GB, free: 32.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001332/0.3316, allocations: 146.5 kB / 0.5214 GB, free: 32.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3316, allocations: 0 / 0.5214 GB, free: 32.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003644/0.332, allocations: 22.62 kB / 0.5214 GB, free: 32.65 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001241/0.3332, allocations: 402 kB / 0.5218 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.3335, allocations: 38.5 kB / 0.5219 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3335, allocations: 0 / 0.5219 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.064e-05/0.3336, allocations: 26.92 kB / 0.5219 GB, free: 32.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.334, allocations: 27.11 kB / 0.5219 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005075/0.3345, allocations: 254.2 kB / 0.5222 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.3347, allocations: 0.714 MB / 0.5229 GB, free: 31.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.3347, allocations: 12.69 kB / 0.5229 GB, free: 31.5 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3347, allocations: 0 / 0.5229 GB, free: 31.5 MB / 378.7 MB Notification: Performance of Templates: time 0.004591/0.3393, allocations: 1.714 MB / 0.5245 GB, free: 31.32 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches