Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00178/0.00178, allocations: 198.3 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.304/1.304, allocations: 226.6 MB / 243.4 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008181/0.0008178, allocations: 110.7 kB / 295.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3471/0.3471, allocations: 44.83 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004345/0.0004346, allocations: 8 kB / 465.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.379, allocations: 62.96 MB / 0.5159 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.001735/0.3808, allocations: 1.385 MB / 0.5172 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.382, allocations: 0.9339 MB / 0.5182 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.43e-05/0.3821, allocations: 0 / 0.5182 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003189/0.3824, allocations: 84.48 kB / 0.5182 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.3827, allocations: 95.31 kB / 0.5183 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.3829, allocations: 93.66 kB / 0.5184 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.383, allocations: 91.84 kB / 0.5185 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.098e-05/0.3831, allocations: 11.98 kB / 0.5185 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.584e-05/0.3832, allocations: 43.47 kB / 0.5186 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.106e-05/0.3833, allocations: 50.23 kB / 0.5186 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.3833, allocations: 0 / 0.5186 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.765e-05/0.3834, allocations: 26.95 kB / 0.5186 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.392e-05/0.3834, allocations: 20.05 kB / 0.5186 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.545e-05/0.3835, allocations: 65.55 kB / 0.5187 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.3836, allocations: 83.16 kB / 0.5188 GB, free: 35.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3836, allocations: 0 / 0.5188 GB, free: 35.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3836, allocations: 4 kB / 0.5188 GB, free: 35.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.3836, allocations: 0 / 0.5188 GB, free: 35.22 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.0004428/0.3841, allocations: 402.1 kB / 0.5192 GB, free: 34.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3841, allocations: 8.906 kB / 0.5192 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.3842, allocations: 10.53 kB / 0.5192 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.3844, allocations: 226.3 kB / 0.5194 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.3844, allocations: 384 / 0.5194 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.3844, allocations: 6.969 kB / 0.5194 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.3845, allocations: 53.08 kB / 0.5195 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.3846, allocations: 0 / 0.5195 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.3846, allocations: 0 / 0.5195 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3846, allocations: 2.938 kB / 0.5195 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.015e-05/0.3846, allocations: 13.16 kB / 0.5195 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.3848, allocations: 184.3 kB / 0.5197 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.385, allocations: 53.77 kB / 0.5197 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.849e-05/0.385, allocations: 26.83 kB / 0.5197 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.385, allocations: 6.297 kB / 0.5197 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.3852, allocations: 66.17 kB / 0.5198 GB, free: 34.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.914e-06/0.3852, allocations: 0 / 0.5198 GB, free: 34.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000239/0.3855, allocations: 102.2 kB / 0.5199 GB, free: 34.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.3855, allocations: 55.34 kB / 0.52 GB, free: 34.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.3857, allocations: 219.9 kB / 0.5202 GB, free: 33.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.3857, allocations: 29.7 kB / 0.5202 GB, free: 33.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.3857, allocations: 105.2 kB / 0.5203 GB, free: 33.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.3858, allocations: 6.656 kB / 0.5203 GB, free: 33.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/0.3858, allocations: 6.781 kB / 0.5203 GB, free: 33.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.96e-05/0.3858, allocations: 321 kB / 0.5206 GB, free: 33.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.424e-05/0.3859, allocations: 15.95 kB / 0.5206 GB, free: 33.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.768e-05/0.3859, allocations: 28.73 kB / 0.5207 GB, free: 33.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.936e-05/0.386, allocations: 42.58 kB / 0.5207 GB, free: 33.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.386, allocations: 0 / 0.5207 GB, free: 33.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001314/0.3862, allocations: 93.36 kB / 0.5208 GB, free: 33.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.3862, allocations: 2.938 kB / 0.5208 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3862, allocations: 0 / 0.5208 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.3862, allocations: 2.844 kB / 0.5208 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.041e-05/0.3863, allocations: 11.86 kB / 0.5208 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.3863, allocations: 4.031 kB / 0.5208 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.473e-05/0.3863, allocations: 2.5 kB / 0.5208 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.3864, allocations: 7 kB / 0.5208 GB, free: 33.37 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 7.445e-05/0.3864, allocations: 137.9 kB / 0.5209 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.3865, allocations: 13.69 kB / 0.521 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.3865, allocations: 17.83 kB / 0.521 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.3865, allocations: 0 / 0.521 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3865, allocations: 4 kB / 0.521 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3865, allocations: 0 / 0.521 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.101e-05/0.3866, allocations: 205.9 kB / 0.5212 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3866, allocations: 0 / 0.5212 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.799e-05/0.3867, allocations: 2.938 kB / 0.5212 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3867, allocations: 0 / 0.5212 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3867, allocations: 0 / 0.5212 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3867, allocations: 2.812 kB / 0.5212 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3867, allocations: 3.469 kB / 0.5212 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.3868, allocations: 111.4 kB / 0.5213 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.218e-05/0.3869, allocations: 93.92 kB / 0.5214 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.3869, allocations: 3.984 kB / 0.5214 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.835e-05/0.387, allocations: 10.17 kB / 0.5214 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.387, allocations: 2.75 kB / 0.5214 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.387, allocations: 6.938 kB / 0.5214 GB, free: 32.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001021/0.3871, allocations: 160.7 kB / 0.5216 GB, free: 32.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3871, allocations: 0 / 0.5216 GB, free: 32.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001962/0.3873, allocations: 21.69 kB / 0.5216 GB, free: 32.7 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.000807/0.3881, allocations: 406.4 kB / 0.522 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.3883, allocations: 47.03 kB / 0.522 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3883, allocations: 0 / 0.522 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.131e-05/0.3883, allocations: 15.41 kB / 0.522 GB, free: 32.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.3886, allocations: 32.62 kB / 0.5221 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/0.389, allocations: 264.6 kB / 0.5223 GB, free: 32.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.3891, allocations: 0.7074 MB / 0.523 GB, free: 31.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.3891, allocations: 16.53 kB / 0.523 GB, free: 31.55 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3891, allocations: 7.938 kB / 0.523 GB, free: 31.55 MB / 378.7 MB Notification: Performance of Templates: time 0.003056/0.3922, allocations: 1.767 MB / 0.5247 GB, free: 31.35 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches