Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001515/0.001515, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001655/0.001655, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2278/0.2278, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 79.88 kB / 481.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4156, allocations: 62.44 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003383/0.4191, allocations: 1.731 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.4208, allocations: 1.021 MB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.516e-05/0.4209, allocations: 4.969 kB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.4212, allocations: 38.2 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002936/0.4215, allocations: 90.39 kB / 0.5339 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.4217, allocations: 79.83 kB / 0.534 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.4219, allocations: 104.9 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.422, allocations: 14.88 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.23e-05/0.4221, allocations: 44.28 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.079e-05/0.4222, allocations: 34.78 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.4222, allocations: 2.75 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.687e-05/0.4223, allocations: 40.86 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.017e-05/0.4224, allocations: 21.36 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/0.4224, allocations: 35.98 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.4227, allocations: 120.7 kB / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4227, allocations: 3.938 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4227, allocations: 1.375 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.4227, allocations: 4 kB / 0.5344 GB, free: 11.05 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005433/0.4232, allocations: 405.8 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.4233, allocations: 9.625 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.4233, allocations: 12.88 kB / 0.5348 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.4236, allocations: 212.5 kB / 0.535 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.4236, allocations: 1.75 kB / 0.535 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.4237, allocations: 13.5 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.4238, allocations: 50.05 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.4239, allocations: 5.375 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.4239, allocations: 7.984 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.4239, allocations: 1.375 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.267e-05/0.424, allocations: 17.61 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.4243, allocations: 290.8 kB / 0.5354 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.4245, allocations: 65.86 kB / 0.5354 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.343e-05/0.4246, allocations: 20.94 kB / 0.5354 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.4246, allocations: 1.094 kB / 0.5354 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.4247, allocations: 65.02 kB / 0.5355 GB, free: 9.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.586e-06/0.4247, allocations: 1.094 kB / 0.5355 GB, free: 9.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005298/0.4253, allocations: 173.7 kB / 0.5357 GB, free: 9.781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.4253, allocations: 56.66 kB / 0.5357 GB, free: 9.715 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.4255, allocations: 189 kB / 0.5359 GB, free: 9.566 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.4255, allocations: 26.8 kB / 0.5359 GB, free: 9.535 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.4256, allocations: 100.8 kB / 0.536 GB, free: 9.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/0.4256, allocations: 27.48 kB / 0.5361 GB, free: 9.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.4257, allocations: 24.75 kB / 0.5361 GB, free: 9.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.4258, allocations: 325.7 kB / 0.5364 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.554e-05/0.4258, allocations: 19.2 kB / 0.5364 GB, free: 9.059 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.278e-05/0.4259, allocations: 40.27 kB / 0.5364 GB, free: 9.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.426, allocations: 58.08 kB / 0.5365 GB, free: 8.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.426, allocations: 0 / 0.5365 GB, free: 8.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001839/0.4262, allocations: 103.9 kB / 0.5366 GB, free: 8.922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.4262, allocations: 5.5 kB / 0.5366 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4263, allocations: 0 / 0.5366 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.4263, allocations: 1.25 kB / 0.5366 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.989e-05/0.4264, allocations: 25.89 kB / 0.5366 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.4264, allocations: 1.094 kB / 0.5366 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.441e-05/0.4264, allocations: 10.16 kB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.4264, allocations: 2.281 kB / 0.5366 GB, free: 8.902 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 (10): * Single equations (assignments): 10 * 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 8.794e-05/0.4265, allocations: 125.4 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.4266, allocations: 13.69 kB / 0.5368 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/0.4266, allocations: 14.25 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4266, allocations: 1.094 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4266, allocations: 5.125 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.4266, allocations: 7.922 kB / 0.5368 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004267/0.4271, allocations: 393.8 kB / 0.5372 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4271, allocations: 0 / 0.5372 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.155e-05/0.4271, allocations: 8.188 kB / 0.5372 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.4271, allocations: 1.125 kB / 0.5372 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.4271, allocations: 8.938 kB / 0.5372 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.4272, allocations: 5.109 kB / 0.5372 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.4272, allocations: 1.188 kB / 0.5372 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.4274, allocations: 204 kB / 0.5374 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.4274, allocations: 88.58 kB / 0.5375 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.4275, allocations: 5.062 kB / 0.5375 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.4275, allocations: 6.281 kB / 0.5375 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.4276, allocations: 7.391 kB / 0.5375 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.4276, allocations: 7.5 kB / 0.5375 GB, free: 8.055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.4277, allocations: 139.3 kB / 0.5376 GB, free: 7.953 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4277, allocations: 0 / 0.5376 GB, free: 7.953 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.428, allocations: 25.25 kB / 0.5377 GB, free: 7.945 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.000995/0.429, allocations: 451.9 kB / 0.5381 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.4292, allocations: 62.47 kB / 0.5382 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4292, allocations: 0 / 0.5382 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.561e-05/0.4293, allocations: 38.75 kB / 0.5382 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.4296, allocations: 33.64 kB / 0.5382 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004209/0.4301, allocations: 218.3 kB / 0.5384 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.4303, allocations: 0.705 MB / 0.5391 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.001e-05/0.4304, allocations: 22 kB / 0.5391 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.4304, allocations: 19.58 kB / 0.5392 GB, free: 6.742 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4304, allocations: 0 / 0.5392 GB, free: 6.742 MB / 398.1 MB Notification: Performance of Templates: time 0.004515/0.435, allocations: 1.748 MB / 0.5409 GB, free: 5.855 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches