Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001447/0.001447, allocations: 197.4 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 226.6 MB / 243.4 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008778/0.0008777, allocations: 92.61 kB / 295.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3622/0.3622, allocations: 44.83 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.0002922, allocations: 11.98 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3218, allocations: 62.96 MB / 0.5159 GB, free: 37.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002013/0.3239, allocations: 1.613 MB / 0.5175 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.3253, allocations: 0.9978 MB / 0.5184 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.803e-05/0.3254, allocations: 2.875 kB / 0.5184 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.3257, allocations: 41.92 kB / 0.5185 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.326, allocations: 76.67 kB / 0.5185 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.3263, allocations: 103.5 kB / 0.5186 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.3265, allocations: 129 kB / 0.5188 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.3266, allocations: 30.11 kB / 0.5188 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.594e-05/0.3267, allocations: 51.05 kB / 0.5188 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.627e-05/0.3267, allocations: 37.81 kB / 0.5189 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.3268, allocations: 2.875 kB / 0.5189 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.665e-05/0.3269, allocations: 47.09 kB / 0.5189 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.847e-05/0.3269, allocations: 24.44 kB / 0.519 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.25e-05/0.327, allocations: 65.02 kB / 0.519 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.3272, allocations: 113.5 kB / 0.5191 GB, free: 34.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3272, allocations: 0 / 0.5191 GB, free: 34.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3272, allocations: 0 / 0.5191 GB, free: 34.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.3272, allocations: 0 / 0.5191 GB, free: 34.85 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005303/0.3277, allocations: 468.8 kB / 0.5196 GB, free: 34.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3278, allocations: 9.844 kB / 0.5196 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/0.3278, allocations: 14.16 kB / 0.5196 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.328, allocations: 241.9 kB / 0.5198 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.3281, allocations: 3.375 kB / 0.5198 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.3281, allocations: 11 kB / 0.5198 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.3283, allocations: 106.5 kB / 0.5199 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3284, allocations: 4 kB / 0.5199 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.3284, allocations: 4 kB / 0.5199 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.3284, allocations: 2.719 kB / 0.5199 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.3285, allocations: 52.58 kB / 0.52 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/0.329, allocations: 0.5168 MB / 0.5205 GB, free: 33.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.3293, allocations: 85.39 kB / 0.5206 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.815e-05/0.3294, allocations: 44.19 kB / 0.5206 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.3294, allocations: 3.094 kB / 0.5206 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.3296, allocations: 87.7 kB / 0.5207 GB, free: 33.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.3296, allocations: 0 / 0.5207 GB, free: 33.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003569/0.33, allocations: 153.2 kB / 0.5209 GB, free: 33.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.33, allocations: 55.34 kB / 0.5209 GB, free: 33.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.3302, allocations: 196.6 kB / 0.5211 GB, free: 33.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.3302, allocations: 29.7 kB / 0.5211 GB, free: 33.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.3303, allocations: 113.1 kB / 0.5212 GB, free: 33.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.3303, allocations: 33.03 kB / 0.5213 GB, free: 33.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/0.3303, allocations: 0 / 0.5213 GB, free: 33.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.485e-05/0.3304, allocations: 335 kB / 0.5216 GB, free: 32.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.16e-05/0.3305, allocations: 24.8 kB / 0.5216 GB, free: 32.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.46e-05/0.3306, allocations: 62.12 kB / 0.5217 GB, free: 32.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.3307, allocations: 110.8 kB / 0.5218 GB, free: 32.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3308, allocations: 0 / 0.5218 GB, free: 32.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002355/0.331, allocations: 144.3 kB / 0.5219 GB, free: 32.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.331, allocations: 5.5 kB / 0.5219 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.331, allocations: 2.812 kB / 0.5219 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.331, allocations: 0 / 0.5219 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.377e-05/0.3311, allocations: 26.75 kB / 0.5219 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3312, allocations: 2.562 kB / 0.5219 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.796e-05/0.3312, allocations: 19.88 kB / 0.522 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.3313, allocations: 6.781 kB / 0.522 GB, free: 32.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.825e-05/0.3313, allocations: 136.5 kB / 0.5221 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.3314, allocations: 16.03 kB / 0.5221 GB, free: 32.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/0.3314, allocations: 18.41 kB / 0.5221 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.3314, allocations: 3.938 kB / 0.5221 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3314, allocations: 0 / 0.5221 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3314, allocations: 3 kB / 0.5221 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.3316, allocations: 208 kB / 0.5223 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3316, allocations: 0 / 0.5223 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.325e-05/0.3317, allocations: 16.06 kB / 0.5224 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3317, allocations: 4 kB / 0.5224 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.3317, allocations: 4 kB / 0.5224 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3317, allocations: 11.89 kB / 0.5224 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3317, allocations: 0 / 0.5224 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.332, allocations: 192.6 kB / 0.5226 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.3321, allocations: 91.95 kB / 0.5226 GB, free: 31.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.3321, allocations: 14.66 kB / 0.5227 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-05/0.3322, allocations: 10.09 kB / 0.5227 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.3322, allocations: 6.453 kB / 0.5227 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.3323, allocations: 2.781 kB / 0.5227 GB, free: 31.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001134/0.3324, allocations: 151.8 kB / 0.5228 GB, free: 31.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3324, allocations: 0 / 0.5228 GB, free: 31.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000221/0.3326, allocations: 32.16 kB / 0.5229 GB, free: 31.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0008168/0.3334, allocations: 404.7 kB / 0.5232 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002246/0.3337, allocations: 75.83 kB / 0.5233 GB, free: 31.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3337, allocations: 4 kB / 0.5233 GB, free: 31.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.748e-05/0.3338, allocations: 46.27 kB / 0.5234 GB, free: 31.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.3341, allocations: 31.83 kB / 0.5234 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004797/0.3346, allocations: 327.1 kB / 0.5237 GB, free: 31.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.3347, allocations: 0.7118 MB / 0.5244 GB, free: 30.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.349e-05/0.3348, allocations: 20.44 kB / 0.5244 GB, free: 30.55 MB / 378.7 MB Notification: Performance of SimCode: time 1.783e-06/0.3348, allocations: 0 / 0.5244 GB, free: 30.55 MB / 378.7 MB Notification: Performance of Templates: time 0.003612/0.3384, allocations: 2.197 MB / 0.5266 GB, free: 30.34 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches