Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001715/0.001715, allocations: 193.9 kB / 16.09 MB, free: 5.547 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 226.5 MB / 243.4 MB, free: 8.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007756/0.0007755, allocations: 93.28 kB / 295.5 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3241/0.3241, allocations: 44.82 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002921/0.0002921, allocations: 12 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.342, allocations: 62.95 MB / 0.5159 GB, free: 37.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.001551/0.3436, allocations: 1.39 MB / 0.5172 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.3448, allocations: 0.9324 MB / 0.5181 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.719e-05/0.3448, allocations: 3.938 kB / 0.5182 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.3451, allocations: 62 kB / 0.5182 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.3454, allocations: 82.8 kB / 0.5183 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.3456, allocations: 98.2 kB / 0.5184 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.3458, allocations: 91.44 kB / 0.5185 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.196e-05/0.3458, allocations: 7.875 kB / 0.5185 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.366e-05/0.3459, allocations: 45.73 kB / 0.5185 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.785e-05/0.346, allocations: 39.88 kB / 0.5186 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.346, allocations: 0 / 0.5186 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.467e-05/0.3461, allocations: 28.2 kB / 0.5186 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.95e-05/0.3461, allocations: 20.83 kB / 0.5186 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.277e-05/0.3462, allocations: 61.34 kB / 0.5187 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.3463, allocations: 77.92 kB / 0.5187 GB, free: 35.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3463, allocations: 0 / 0.5187 GB, free: 35.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3463, allocations: 0 / 0.5187 GB, free: 35.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.3463, allocations: 4 kB / 0.5187 GB, free: 35.12 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.0004011/0.3468, allocations: 388.2 kB / 0.5191 GB, free: 34.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3468, allocations: 12.09 kB / 0.5191 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.3468, allocations: 14.75 kB / 0.5191 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.347, allocations: 209.5 kB / 0.5193 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.347, allocations: 3.344 kB / 0.5193 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.3471, allocations: 4.125 kB / 0.5193 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.3472, allocations: 50.33 kB / 0.5194 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.3472, allocations: 4 kB / 0.5194 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.3472, allocations: 0 / 0.5194 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3472, allocations: 2.938 kB / 0.5194 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.766e-05/0.3473, allocations: 16.88 kB / 0.5194 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.3474, allocations: 182.5 kB / 0.5196 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.3476, allocations: 50.03 kB / 0.5196 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.3476, allocations: 26.39 kB / 0.5197 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.3476, allocations: 3.031 kB / 0.5197 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.3478, allocations: 65.94 kB / 0.5197 GB, free: 34.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.3478, allocations: 3.938 kB / 0.5197 GB, free: 34.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002358/0.348, allocations: 94.33 kB / 0.5198 GB, free: 34.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/0.3481, allocations: 51.41 kB / 0.5199 GB, free: 34.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.3482, allocations: 201.1 kB / 0.5201 GB, free: 33.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.918e-06/0.3482, allocations: 29.7 kB / 0.5201 GB, free: 33.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.3483, allocations: 101.1 kB / 0.5202 GB, free: 33.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.3483, allocations: 14.94 kB / 0.5202 GB, free: 33.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.3483, allocations: 0 / 0.5202 GB, free: 33.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.326e-05/0.3484, allocations: 324.9 kB / 0.5205 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.297e-05/0.3484, allocations: 15.8 kB / 0.5205 GB, free: 33.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.892e-05/0.3485, allocations: 29 kB / 0.5206 GB, free: 33.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.23e-05/0.3486, allocations: 49.98 kB / 0.5206 GB, free: 33.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3486, allocations: 0 / 0.5206 GB, free: 33.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001266/0.3487, allocations: 93.33 kB / 0.5207 GB, free: 33.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.3487, allocations: 5.688 kB / 0.5207 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3487, allocations: 0 / 0.5207 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.3488, allocations: 0 / 0.5207 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.848e-05/0.3488, allocations: 14.69 kB / 0.5207 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3488, allocations: 0 / 0.5207 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.357e-05/0.3489, allocations: 6.594 kB / 0.5207 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.3489, allocations: 6.625 kB / 0.5207 GB, free: 33.29 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 6.988e-05/0.349, allocations: 124.5 kB / 0.5208 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.349, allocations: 9.688 kB / 0.5209 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.349, allocations: 14.78 kB / 0.5209 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.349, allocations: 3.328 kB / 0.5209 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3491, allocations: 0 / 0.5209 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3491, allocations: 0 / 0.5209 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.427e-05/0.3492, allocations: 191.7 kB / 0.5211 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3492, allocations: 7.938 kB / 0.5211 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.852e-05/0.3492, allocations: 2.625 kB / 0.5211 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3492, allocations: 0 / 0.5211 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.3492, allocations: 2.594 kB / 0.5211 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3492, allocations: 3.047 kB / 0.5211 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.3492, allocations: 0 / 0.5211 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.3494, allocations: 112.7 kB / 0.5212 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.001e-05/0.3494, allocations: 91.84 kB / 0.5213 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.3494, allocations: 11.94 kB / 0.5213 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.563e-05/0.3495, allocations: 3 kB / 0.5213 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.3495, allocations: 2.875 kB / 0.5213 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.3495, allocations: 10.45 kB / 0.5213 GB, free: 32.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.59e-05/0.3496, allocations: 142.8 kB / 0.5214 GB, free: 32.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3496, allocations: 0 / 0.5214 GB, free: 32.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001955/0.3498, allocations: 17.72 kB / 0.5214 GB, free: 32.64 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.0007693/0.3506, allocations: 411.6 kB / 0.5218 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.3508, allocations: 35.23 kB / 0.5219 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3508, allocations: 0 / 0.5219 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.267e-05/0.3508, allocations: 23.12 kB / 0.5219 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.3511, allocations: 33.47 kB / 0.5219 GB, free: 32.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.3514, allocations: 243.4 kB / 0.5222 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.3515, allocations: 0.708 MB / 0.5228 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.3516, allocations: 13.09 kB / 0.5229 GB, free: 31.49 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3516, allocations: 3.938 kB / 0.5229 GB, free: 31.49 MB / 378.7 MB Notification: Performance of Templates: time 0.002761/0.3543, allocations: 1.717 MB / 0.5245 GB, free: 31.3 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches