Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001612/0.001613, allocations: 118.8 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001742/0.001742, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 227.4 MB / 246.9 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2286/0.2286, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 83.88 kB / 481.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4128, allocations: 62.43 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003775/0.4166, allocations: 1.696 MB / 0.5327 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.4187, allocations: 0.9907 MB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.4189, allocations: 5.312 kB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004065/0.4193, allocations: 57.67 kB / 0.5337 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004683/0.4198, allocations: 103.2 kB / 0.5338 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.4202, allocations: 77.53 kB / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.4205, allocations: 102.3 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.162e-05/0.4206, allocations: 4.359 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.4208, allocations: 51.02 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.421, allocations: 36.34 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.421, allocations: 4.125 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.4212, allocations: 36.61 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.281e-05/0.4213, allocations: 17.42 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.041e-05/0.4214, allocations: 35.92 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003704/0.4217, allocations: 103.2 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.4218, allocations: 0 / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4218, allocations: 1.375 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.4218, allocations: 0 / 0.5343 GB, free: 11.09 MB / 398.1 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.0008672/0.4227, allocations: 404.2 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/0.4227, allocations: 12.75 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.346e-05/0.4228, allocations: 13.03 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004689/0.4233, allocations: 216 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.4234, allocations: 1.531 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.4234, allocations: 9.281 kB / 0.5349 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.4236, allocations: 55.55 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.4236, allocations: 3.984 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.4236, allocations: 0.9688 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.4236, allocations: 0 / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.649e-05/0.4237, allocations: 11.97 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.4241, allocations: 186.8 kB / 0.5352 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.4243, allocations: 46.62 kB / 0.5352 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.302e-05/0.4244, allocations: 25.16 kB / 0.5352 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.043e-05/0.4245, allocations: 9.156 kB / 0.5352 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.4247, allocations: 68.73 kB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.713e-06/0.4247, allocations: 0 / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004208/0.4251, allocations: 91.02 kB / 0.5354 GB, free: 9.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.4252, allocations: 52.12 kB / 0.5354 GB, free: 9.891 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.4255, allocations: 181.5 kB / 0.5356 GB, free: 9.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.4256, allocations: 30.86 kB / 0.5356 GB, free: 9.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.4257, allocations: 100.5 kB / 0.5357 GB, free: 9.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.4258, allocations: 18.23 kB / 0.5358 GB, free: 9.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.419e-05/0.4259, allocations: 23.16 kB / 0.5358 GB, free: 9.578 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.426, allocations: 326.3 kB / 0.5361 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.143e-05/0.4261, allocations: 14.7 kB / 0.5361 GB, free: 9.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.398e-05/0.4262, allocations: 23.97 kB / 0.5361 GB, free: 9.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.4263, allocations: 42.89 kB / 0.5362 GB, free: 9.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.4263, allocations: 1.062 kB / 0.5362 GB, free: 9.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001973/0.4265, allocations: 87.31 kB / 0.5363 GB, free: 9.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.4265, allocations: 4.438 kB / 0.5363 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4265, allocations: 1.094 kB / 0.5363 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.4266, allocations: 5.141 kB / 0.5363 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.462e-05/0.4267, allocations: 9.156 kB / 0.5363 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.4267, allocations: 1.094 kB / 0.5363 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.587e-05/0.4267, allocations: 10.12 kB / 0.5363 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.4268, allocations: 6.531 kB / 0.5363 GB, free: 9.117 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.4269, allocations: 134.9 kB / 0.5364 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.4269, allocations: 9.562 kB / 0.5364 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.322e-05/0.427, allocations: 12.44 kB / 0.5364 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.427, allocations: 1.219 kB / 0.5364 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.427, allocations: 4 kB / 0.5364 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.427, allocations: 5.141 kB / 0.5364 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.4272, allocations: 187.8 kB / 0.5366 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4272, allocations: 0 / 0.5366 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.204e-05/0.4272, allocations: 3.562 kB / 0.5366 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.4272, allocations: 1.25 kB / 0.5366 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.4272, allocations: 1.156 kB / 0.5366 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.4272, allocations: 7.984 kB / 0.5366 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4272, allocations: 0 / 0.5366 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.4275, allocations: 110.2 kB / 0.5367 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.682e-05/0.4275, allocations: 95 kB / 0.5368 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.4276, allocations: 0.875 kB / 0.5368 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.346e-05/0.4276, allocations: 2.25 kB / 0.5368 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.4276, allocations: 1.844 kB / 0.5368 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.4277, allocations: 9.953 kB / 0.5369 GB, free: 8.523 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001421/0.4278, allocations: 135.7 kB / 0.537 GB, free: 8.426 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4278, allocations: 0 / 0.537 GB, free: 8.426 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.4281, allocations: 16.78 kB / 0.537 GB, free: 8.422 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001186/0.4293, allocations: 398.6 kB / 0.5374 GB, free: 8.207 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002708/0.4295, allocations: 48.22 kB / 0.5374 GB, free: 8.184 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4296, allocations: 0 / 0.5374 GB, free: 8.184 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.312e-05/0.4297, allocations: 19.5 kB / 0.5374 GB, free: 8.176 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.43, allocations: 38.2 kB / 0.5375 GB, free: 8.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007754/0.4308, allocations: 188.8 kB / 0.5377 GB, free: 8.004 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/0.4314, allocations: 0.7021 MB / 0.5383 GB, free: 7.293 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.338e-05/0.4315, allocations: 12.39 kB / 0.5384 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.661e-05/0.4315, allocations: 21.95 kB / 0.5384 GB, free: 7.277 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4315, allocations: 3.938 kB / 0.5384 GB, free: 7.273 MB / 398.1 MB Notification: Performance of Templates: time 0.0064/0.4379, allocations: 1.497 MB / 0.5398 GB, free: 6.512 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches