Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00108/0.001079, allocations: 198.3 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.252/1.252, allocations: 226.6 MB / 243.4 MB, free: 8.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007632/0.0007634, allocations: 96.84 kB / 295.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2864/0.2864, allocations: 44.82 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000247/0.0002472, allocations: 12 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2915, allocations: 62.96 MB / 0.5159 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.001829/0.2934, allocations: 1.617 MB / 0.5175 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.2947, allocations: 0.9947 MB / 0.5184 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.2948, allocations: 0 / 0.5184 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.2951, allocations: 44.27 kB / 0.5185 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.2954, allocations: 73.89 kB / 0.5185 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.2958, allocations: 108 kB / 0.5186 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.296, allocations: 128.7 kB / 0.5188 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.2961, allocations: 30.17 kB / 0.5188 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.477e-05/0.2962, allocations: 43.34 kB / 0.5188 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.666e-05/0.2963, allocations: 45.14 kB / 0.5189 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.2963, allocations: 9.312 kB / 0.5189 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.2964, allocations: 36.44 kB / 0.5189 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.605e-05/0.2965, allocations: 22.53 kB / 0.519 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.207e-05/0.2965, allocations: 71.66 kB / 0.519 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.2967, allocations: 110.2 kB / 0.5191 GB, free: 35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2967, allocations: 0 / 0.5191 GB, free: 35 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2967, allocations: 0 / 0.5191 GB, free: 35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.2967, allocations: 0 / 0.5191 GB, free: 35 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.0005123/0.2973, allocations: 469.1 kB / 0.5196 GB, free: 34.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2973, allocations: 9.281 kB / 0.5196 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.2974, allocations: 17.62 kB / 0.5196 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.2976, allocations: 238.9 kB / 0.5198 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.2976, allocations: 3.344 kB / 0.5198 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.2976, allocations: 11.12 kB / 0.5198 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.2978, allocations: 107.4 kB / 0.5199 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2978, allocations: 2.969 kB / 0.5199 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.2979, allocations: 4 kB / 0.5199 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.2979, allocations: 2.938 kB / 0.52 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.298, allocations: 51.3 kB / 0.52 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.2985, allocations: 0.5081 MB / 0.5205 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.2987, allocations: 94.48 kB / 0.5206 GB, free: 33.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.394e-05/0.2988, allocations: 43.41 kB / 0.5206 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.2989, allocations: 3.422 kB / 0.5206 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.299, allocations: 81.53 kB / 0.5207 GB, free: 33.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.299, allocations: 3.938 kB / 0.5207 GB, free: 33.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003312/0.2994, allocations: 152.6 kB / 0.5209 GB, free: 33.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.2994, allocations: 58.22 kB / 0.5209 GB, free: 33.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.2996, allocations: 198.6 kB / 0.5211 GB, free: 33.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.2996, allocations: 25.7 kB / 0.5211 GB, free: 33.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.83e-05/0.2996, allocations: 123.8 kB / 0.5212 GB, free: 33.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.2997, allocations: 25.94 kB / 0.5213 GB, free: 33.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/0.2997, allocations: 8 kB / 0.5213 GB, free: 33.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.735e-05/0.2997, allocations: 323.8 kB / 0.5216 GB, free: 32.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.947e-05/0.2998, allocations: 32.2 kB / 0.5216 GB, free: 32.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.291e-05/0.2999, allocations: 70.19 kB / 0.5217 GB, free: 32.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.3001, allocations: 107.4 kB / 0.5218 GB, free: 32.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3001, allocations: 2.781 kB / 0.5218 GB, free: 32.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002227/0.3003, allocations: 140.7 kB / 0.5219 GB, free: 32.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.3003, allocations: 8.781 kB / 0.5219 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3003, allocations: 2.875 kB / 0.5219 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.3004, allocations: 3.891 kB / 0.5219 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.964e-05/0.3005, allocations: 24.22 kB / 0.522 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.3005, allocations: 6.578 kB / 0.522 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.289e-05/0.3005, allocations: 14.09 kB / 0.522 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.3006, allocations: 10.97 kB / 0.522 GB, free: 32.6 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.646e-05/0.3006, allocations: 130 kB / 0.5221 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.3007, allocations: 16.88 kB / 0.5221 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.973e-05/0.3007, allocations: 12.34 kB / 0.5221 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.3007, allocations: 6.875 kB / 0.5221 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3007, allocations: 0 / 0.5221 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3007, allocations: 3.188 kB / 0.5222 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.3009, allocations: 205.5 kB / 0.5223 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3009, allocations: 0 / 0.5223 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.113e-05/0.301, allocations: 19.66 kB / 0.5224 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.301, allocations: 0 / 0.5224 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.301, allocations: 4 kB / 0.5224 GB, free: 32.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.301, allocations: 6.5 kB / 0.5224 GB, free: 32.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.301, allocations: 0 / 0.5224 GB, free: 32.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.3013, allocations: 196.9 kB / 0.5226 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.349e-05/0.3014, allocations: 87.8 kB / 0.5226 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.3014, allocations: 10.36 kB / 0.5227 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.257e-05/0.3015, allocations: 13.62 kB / 0.5227 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.3015, allocations: 5.859 kB / 0.5227 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.3015, allocations: 2.906 kB / 0.5227 GB, free: 32.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.332e-05/0.3016, allocations: 152.3 kB / 0.5228 GB, free: 31.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3016, allocations: 4.062 kB / 0.5228 GB, free: 31.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002161/0.3019, allocations: 28.72 kB / 0.5229 GB, free: 31.9 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.0007535/0.3026, allocations: 399.2 kB / 0.5232 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002162/0.3028, allocations: 81.95 kB / 0.5233 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3028, allocations: 3.938 kB / 0.5233 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.534e-05/0.3029, allocations: 41.48 kB / 0.5234 GB, free: 31.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.3032, allocations: 32.48 kB / 0.5234 GB, free: 31.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.3037, allocations: 320.4 kB / 0.5237 GB, free: 31.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.3038, allocations: 0.7118 MB / 0.5244 GB, free: 30.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.3038, allocations: 23.06 kB / 0.5244 GB, free: 30.71 MB / 378.7 MB Notification: Performance of SimCode: time 2.01e-07/0.3038, allocations: 4 kB / 0.5244 GB, free: 30.71 MB / 378.7 MB Notification: Performance of Templates: time 0.003068/0.3069, allocations: 2.2 MB / 0.5266 GB, free: 30.48 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches